From: Junio C Hamano Date: Fri, 14 Mar 2025 21:09:06 GMT Subject: [PATCH v2 0/3] -Wunreachable-code Message-ID: <20250314210909.3776678-1-gitster@pobox.com> In-Reply-To: <20250307225444.GA42758@coredump.intra.peff.net> So here is a recap. The first one has meson.build change from Patrick squashed in, the second "errno" based one was what made me write the last one, and is kept as-is. The third one introduces NOT_A_CONST() marking to an expression to tell the compiler not to be overly aggressive to optimize it out. Jeff King (2): config.mak.dev: enable -Wunreachable-code run-command: use errno to check for sigfillset() error Junio C Hamano (1): git-compat-util: add NOT_A_CONST macro and use it in atfork_prepare() Makefile | 1 + config.mak.dev | 1 + git-compat-util.h | 9 +++++++++ meson.build | 2 ++ run-command.c | 8 +++++++- 5 files changed, 20 insertions(+), 1 deletion(-) -- 2.49.0-188-g35fcca2323