diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-08-03 22:38:10 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-08-04 01:25:23 +0200 |
commit | 7e48f3ba71614604e2b7fbb5bcfdb1c848600e89 (patch) | |
tree | edccf279e4c2e67309bf50be68bba835a0d780bb /src/libudev | |
parent | Add tool to display emergency log message full-screen on boot failure. (diff) | |
download | systemd-7e48f3ba71614604e2b7fbb5bcfdb1c848600e89.tar.xz systemd-7e48f3ba71614604e2b7fbb5bcfdb1c848600e89.zip |
tree-wide: Fix -Wmaybe-uninitialized compilation warnings
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/test-libudev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/test-libudev.c b/src/libudev/test-libudev.c index 839a6a1a74..e05a062c8e 100644 --- a/src/libudev/test-libudev.c +++ b/src/libudev/test-libudev.c @@ -171,7 +171,7 @@ static int enumerate_print_list(struct udev_enumerate *enumerate) { } static void test_monitor(struct udev *udev) { - _cleanup_(udev_monitor_unrefp) struct udev_monitor *udev_monitor; + _cleanup_(udev_monitor_unrefp) struct udev_monitor *udev_monitor = NULL; _cleanup_close_ int fd_ep = -EBADF; int fd_udev; struct epoll_event ep_udev = { |