summaryrefslogtreecommitdiff
path: root/extras/usb_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-24 09:37:37 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-24 09:37:37 +0200
commitf6bb9e981aea06f1a7460868fb60f1a9ff14c504 (patch)
treef0e9d72adcd7efe5ef6b14a4f6e50dcb96448d06 /extras/usb_id
parent34d6a259dc1c32f974b9d9dc6518dba12cb6a4d6 (diff)
fix uninitialized variable warnings
Diffstat (limited to 'extras/usb_id')
-rw-r--r--extras/usb_id/usb_id.c2
1 files changed, 1 insertions, 1 deletions
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;