chiark / gitweb /
[PATCH] kill stupid gcc4 warning
[elogind.git] / udev_sysfs.c
index 8813bd5c47086d5bf3ab0764fd317f966dd0f4b0..fc7ee885b0b91fd08d208955f369991d489a33f4 100644 (file)
@@ -330,7 +330,7 @@ int wait_for_devices_device(struct sysfs_device *devices_dev,
                { .bus = "iucv",        .file = "detach_state" },
                { NULL, NULL }
        };
-       const struct device_file *devicefile;
+       const struct device_file *devicefile = NULL;
        int loop;
 
        /* the kernel may tell us what to wait for */