From: Paul Floyd Date: Sat, 10 Jan 2026 15:04:59 +0000 (+0100) Subject: Code cleaning: remove duplicate conditional blocks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf84985d5bdfff56d1877406dc351ad111cd7faf;p=thirdparty%2Fvalgrind.git Code cleaning: remove duplicate conditional blocks vg_replace_strmem.c contained stpcpy twice for VGO_freebsd --- 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)