]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/macro: drop do {} while(0) from assert_not_reached
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Jul 2019 10:27:33 +0000 (12:27 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Jul 2019 10:27:33 +0000 (12:27 +0200)
commitcfec3117d42a1e44feb76a13dc07be2b2e9799ad
treec91b3efa6de898bb5d26d1cba34d0c56bfa40011
parent52f4b5ac8a046172aacf3fa441e89997445b80ed
basic/macro: drop do {} while(0) from assert_not_reached

log_assert_failed_unreachable is just a normal function call, no need to wrap
it.

https://github.com/systemd/systemd/issues/12997#issuecomment-510103988
src/basic/macro.h