mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
Code cleaning: remove duplicate conditional blocks
vg_replace_strmem.c contained stpcpy twice for VGO_freebsd
This commit is contained in:
@@ -1300,11 +1300,6 @@ static inline void my_exit ( int x )
|
||||
STPCPY(VG_Z_LD_ELF32_SO_1, stpcpy)
|
||||
STPCPY(VG_Z_LIBC_SONAME, stpcpy)
|
||||
|
||||
#elif defined(VGO_freebsd)
|
||||
STPCPY(VG_Z_LD_ELF_SO_1, stpcpy)
|
||||
STPCPY(VG_Z_LD_ELF32_SO_1, stpcpy)
|
||||
STPCPY(VG_Z_LIBC_SONAME, stpcpy)
|
||||
|
||||
#elif defined(VGO_darwin)
|
||||
//STPCPY(VG_Z_LIBC_SONAME, stpcpy)
|
||||
//STPCPY(VG_Z_DYLD, stpcpy)
|
||||
|
||||
Reference in New Issue
Block a user