From: Florian Krohm Date: Sun, 27 Jul 2014 14:46:52 +0000 (+0000) Subject: No need to write the offset into a buffer when that X-Git-Tag: svn/VALGRIND_3_10_0~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e15ffd7c60dfe87f2183da4dc7589d984fbf99f6;p=thirdparty%2Fvalgrind.git No need to write the offset into a buffer when that buffer is not used. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14198 --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index 98aaa9e1a0..0e73f07dd8 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -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 ); }