From 4eabb849e443935bc3ef2e80100d1fbcae85bbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 12 Mar 2018 11:39:14 +0100 Subject: [PATCH] initialize global variables --- usb/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usb/usb.c b/usb/usb.c index c947bc4..0678fa3 100644 --- a/usb/usb.c +++ b/usb/usb.c @@ -66,8 +66,8 @@ struct hci /* ---- end of common part ---- */ }; -static struct usb_device *usb_dev; -int bus_index; +static struct usb_device *usb_dev = NULL; +int bus_index = 0; static int dev_index[USB_MAX_BUS]; static struct hci *controller_priv[USB_MAX_BUS]; static int asynch_allowed;