freemyipod r901 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r900‎ | r901 | r902 >
Date:22:52, 29 January 2014
Author:user890104
Status:new
Tags:
Comment:
emCOREFS: fix an uninitialized variable
Modified paths:
  • /emcore/trunk/tools/emcorefs/usb.c (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/emcorefs/usb.c
@@ -55,7 +55,7 @@
5656 libusb_device **devs, *dev = NULL;
5757 ssize_t devs_cnt, i, j, k, l;
5858 int32_t res;
59 - uint8_t found;
 59+ uint8_t found = 0;
6060 struct libusb_device_descriptor dev_desc;
6161 struct libusb_config_descriptor *cfg_desc;
6262 const struct libusb_interface *iface;