]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove redundant function call.
authorNicholas Nethercote <njn@valgrind.org>
Thu, 29 Sep 2005 00:31:40 +0000 (00:31 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 29 Sep 2005 00:31:40 +0000 (00:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4816

coregrind/m_libcproc.c

index 067d47f85eb23521f9c5648175ad4f8e102ce74c..424cd6382a3e489ea979995cb011ab8545b1b6b4 100644 (file)
@@ -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));