]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
No need to write the offset into a buffer when that
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 27 Jul 2014 14:46:52 +0000 (14:46 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 27 Jul 2014 14:46:52 +0000 (14:46 +0000)
buffer is not used.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14198

coregrind/m_debuginfo/debuginfo.c

index 98aaa9e1a0f9e7bf326f59d528f69d9fcb7701e7..0e73f07dd8cea4d2f53f36308c207f67d964e885 100644 (file)
@@ -1786,7 +1786,7 @@ Bool VG_(get_inst_offset_in_function)( Addr a,
                          /*below-main-renaming*/False,
                          a, fnname, 64,
                          /*match_anywhere_in_sym*/True, 
-                         /*show offset?*/True,
+                         /*show offset?*/False,
                          /*data syms only please*/True,
                          offset );
 }