chiark / gitweb /
[PATCH] kill stupid gcc4 warning
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Fri, 4 Mar 2005 19:56:51 +0000 (20:56 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:39:48 +0000 (23:39 -0700)
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 */