summaryrefslogtreecommitdiff
path: root/libudev/test-libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libudev/test-libudev.c')
-rw-r--r--libudev/test-libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/test-libudev.c b/libudev/test-libudev.c
index 4192ba14b2..966a406507 100644
--- a/libudev/test-libudev.c
+++ b/libudev/test-libudev.c
@@ -221,7 +221,7 @@ static int test_enumerate_print_list(struct udev_enumerate *enumerate)
static int test_monitor(struct udev *udev)
{
- struct udev_monitor *udev_monitor;
+ struct udev_monitor *udev_monitor = NULL;
int fd_ep;
int fd_udev = -1;
struct epoll_event ep_udev, ep_stdin;