From: Nicholas Nethercote Date: Thu, 29 Sep 2005 00:31:40 +0000 (+0000) Subject: Remove redundant function call. X-Git-Tag: svn/VALGRIND_3_1_0~412 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65e1e0b80458cbdbf71c464562ddebd31fb9d690;p=thirdparty%2Fvalgrind.git Remove redundant function call. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4816 --- diff --git a/coregrind/m_libcproc.c b/coregrind/m_libcproc.c index 067d47f85e..424cd6382a 100644 --- a/coregrind/m_libcproc.c +++ b/coregrind/m_libcproc.c @@ -202,8 +202,6 @@ void VG_(env_remove_valgrind_env_stuff)(Char** envp) buf = VG_(arena_malloc)(VG_AR_CORE, VG_(strlen)(VG_(libdir)) + 20); // Remove Valgrind-specific entries from LD_*. - VG_(sprintf)(buf, "%s*/vgpreload_core.so", VG_(libdir)); - mash_colon_env(ld_preload_str, buf); VG_(sprintf)(buf, "%s*/vgpreload_*.so", VG_(libdir)); mash_colon_env(ld_preload_str, buf); VG_(sprintf)(buf, "%s*", VG_(libdir));