]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Code cleaning: remove duplicate conditional blocks
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 10 Jan 2026 15:04:59 +0000 (16:04 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 10 Jan 2026 15:04:59 +0000 (16:04 +0100)
vg_replace_strmem.c contained stpcpy twice for VGO_freebsd

shared/vg_replace_strmem.c

index 24ea6c37babcda7d5a45a24a22554a4b0ad716b5..4cf28a670584a6c8d748ab8115fb9a7b31df1d61 100644 (file)
@@ -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)