dbus-daemon: silence -Wswitch-default
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 17 Jan 2017 20:21:21 +0000 (20:21 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 7 Apr 2017 11:06:30 +0000 (12:06 +0100)
commit6883d9f3007cb736aa7759488b911221225245ba
treeace8f9fd0275aefd0b5ad5bd14e2919b5f44631f
parent90a1bbecf26ef640010d7f196e1c826b97bea700
dbus-daemon: silence -Wswitch-default

There should be no way signal_handler() can be called for a signal
we didn't ask for. If it somehow happens, ignore it.

Based on a patch from Thomas Zimmermann.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191
bus/main.c