diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-03-27 20:13:11 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-03-27 20:16:49 +0100 |
commit | 9f2a50a3005a771a3b6cea2136b6a6c7e5686a0e (patch) | |
tree | 230d726af1ad98776122cc03361cd17ad872ac77 /src/libsystemd | |
parent | 93c941e3fb232da014a4b8050c960b63cb2bbf3d (diff) |
silence warnings
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-event/sd-event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 4aabec1479..0ad6454fd7 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -1983,6 +1983,8 @@ static int source_dispatch(sd_event_source *s) { break; case SOURCE_WATCHDOG: + case _SOUFCE_EVENT_SOURCE_TYPE_MAX: + case _SOURCE_EVENT_SOURCE_TYPE_INVALID: assert_not_reached("Wut? I shouldn't exist."); } |