[PATCH v2 0/3] -Wunreachable-code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux