Thread (18 messages) 18 messages, 6 authors, 2025-06-03
STALE411d
Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

[PATCH v2 0/3] -Wunreachable-code

From: Junio C Hamano <hidden>
Date: 2025-03-14 21:09:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help