From cf84985d5bdfff56d1877406dc351ad111cd7faf Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 10 Jan 2026 16:04:59 +0100 Subject: [PATCH] Code cleaning: remove duplicate conditional blocks vg_replace_strmem.c contained stpcpy twice for VGO_freebsd --- shared/vg_replace_strmem.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index 24ea6c37b..4cf28a670 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -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)