mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
sd-event: initialize return value
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
This commit is contained in:
parent
70d8320978
commit
fe8245eb3c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user