summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2022-03-08 09:02:51 +0100
committerSimon McVittie <smcv@collabora.com>2022-04-21 13:54:23 +0100
commit3e8423d2991bc6d7f5b4e54c2513a48c39cd23e8 (patch)
tree67613886b268378b7b11e996fe88b0cbb12497af /bus
parentf2982fc37b9a5c2b1d31343e68b705e83beba5e3 (diff)
downloaddbus-3e8423d2991bc6d7f5b4e54c2513a48c39cd23e8.tar.gz
test-segfault: Fix build error caused by a null pointer dereference warning
Only do the deliberate crash via undefined behaviour (which the compiler is quite right to warn us about!) if raise() isn't available. The pointer needs to be volatile otherwise the compiler is free to remove the store. Part-of: https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/275 Reviewed-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'bus')
0 files changed, 0 insertions, 0 deletions