From f6bb9e981aea06f1a7460868fb60f1a9ff14c504 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 24 Oct 2008 09:37:37 +0200 Subject: fix uninitialized variable warnings --- extras/usb_id/usb_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index 59cdd40b31..22f075b5d9 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -368,7 +368,7 @@ int main(int argc, char **argv) {} }; struct udev *udev; - struct udev_device *dev; + struct udev_device *dev = NULL; char syspath[UTIL_PATH_SIZE]; const char *devpath; static int export; -- cgit v1.2.3-54-g00ecf