diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-30 17:14:57 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-30 17:14:57 +0100 |
commit | 74dae72b8196c8e31318569f659b0b3de21c83c3 (patch) | |
tree | ce119b98c162c5e51327bf81a1662ed532775fbc /tools | |
parent | 99bce9b37ec1176942ec642e30aeb8dd489f1f66 (diff) |
Fix another uninitialized variable
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dfutool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dfutool.c b/tools/dfutool.c index 246d92a4..c513c67e 100644 --- a/tools/dfutool.c +++ b/tools/dfutool.c @@ -117,7 +117,7 @@ static struct usb_dev_handle *open_device(char *device, struct dfu_suffix *suffi struct usb_dev_handle *udev; struct dfu_status status; char str[8]; - int i, intf, sel, num = 0, try = 5, bus_id = -1, dev_id = -1; + int i, intf, sel = 0, num = 0, try = 5, bus_id = -1, dev_id = -1; printf("Scanning USB busses ... "); fflush(stdout); |