mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 00:51:19 +00:00
sd-event: fix use of uninitialized variable
Follow-up for 158fe190af.
Fixes CID#1505670.
This commit is contained in:
@@ -1917,7 +1917,7 @@ _public_ int sd_event_add_memory_pressure(
|
||||
_cleanup_(source_freep) sd_event_source *s = NULL;
|
||||
_cleanup_close_ int path_fd = -1, fd = -1;
|
||||
_cleanup_free_ void *write_buffer = NULL;
|
||||
const char *watch, *watch_fallback, *env;
|
||||
const char *watch, *watch_fallback = NULL, *env;
|
||||
size_t write_buffer_size = 0;
|
||||
struct stat st;
|
||||
uint32_t events;
|
||||
|
||||
Reference in New Issue
Block a user