diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-10-16 20:24:11 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-10-17 16:19:48 -0400 |
commit | fe8245eb3c4bc4c492168b861ce3b631479a9046 (patch) | |
tree | c1b2657d7ebb6ed83252c004e55560f63d8d1301 /src/libsystemd-bus/sd-event.c | |
parent | 70d8320978dcbce022d9acbb953a10a7aca049ab (diff) |
sd-event: initialize return value
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used
uninitialized in this function [-Wmaybe-uninitialized]
Diffstat (limited to 'src/libsystemd-bus/sd-event.c')
-rw-r--r-- | src/libsystemd-bus/sd-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-event.c b/src/libsystemd-bus/sd-event.c index ace97dc739..19fa982ed3 100644 --- a/src/libsystemd-bus/sd-event.c +++ b/src/libsystemd-bus/sd-event.c @@ -1594,7 +1594,7 @@ static int process_signal(sd_event *e, uint32_t events) { } static int source_dispatch(sd_event_source *s) { - int r; + int r = 0; assert(s); assert(s->pending || s->type == SOURCE_QUIT); |