Remove redundant function call.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4816
This commit is contained in:
Nicholas Nethercote 2005-09-29 00:31:40 +00:00
parent 21f31418f0
commit 65e1e0b804

View 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));