bus policy: assert that no invalid rule types are seen
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 17 Jan 2017 21:09:07 +0000 (21:09 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 7 Apr 2017 11:08:48 +0000 (12:08 +0100)
commite2edb6c4b8b0f9dcd116fdb74c731f32f7ed8c02
tree6173259c0feae3f932c16c7d576200b0f2521bb3
parentcb5a37b53bc51917cb42ea49fbc6e20f8c7d784a
bus policy: assert that no invalid rule types are seen

This silences -Wswitch-default.

Based on part of 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/policy.c