]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm: avoid side-effect in assert()
authorNRK <nrk@disroot.org>
Mon, 2 Oct 2023 19:26:48 +0000 (01:26 +0600)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 2 Oct 2023 21:58:45 +0000 (22:58 +0100)
commit6c7b1ea1bed384b8f64ea0d45666bbf455f16726
tree67b8dfe219504c4d52903b0a836d9c5c1dcc20ce
parent3ed342562ada6198f24760b21634273181a2d4df
udevadm: avoid side-effect in assert()

this was found when trying to use __builtin_assume() with clang:
https://github.com/systemd/systemd/pull/29409#issuecomment-1743575402
src/udev/udevadm-lock.c