diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-30 14:05:28 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-14 08:33:56 -0700 |
commit | 5957c1ffe79b34d8b1859f9f11644d1007193cbc (patch) | |
tree | bbfd389eca213d6aabc3745b1486bc949999bc85 /fastboot/usb_linux.c | |
parent | ab886745bc422e46d811a43043f7f2b2e132c15f (diff) | |
download | system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.zip system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.tar.gz system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.tar.bz2 |
fastboot: turn on -Werror
- Deal with a missing initializer issue
- Deal with some -Wunused issues
- Deal with some signed/unsigned issues
- switch to usleep from sleep to facilitate win_sdk compile
Change-Id: I64e32a5b0782aeed9582f489e866173c4df1afbf
Diffstat (limited to 'fastboot/usb_linux.c')
-rw-r--r-- | fastboot/usb_linux.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fastboot/usb_linux.c b/fastboot/usb_linux.c index f2ce226..a45f9f8 100644 --- a/fastboot/usb_linux.c +++ b/fastboot/usb_linux.c @@ -125,9 +125,6 @@ static int filter_usb_device(char* sysfs_name, unsigned i; unsigned e; - struct stat st; - int result; - if(check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) return -1; dev = (void*) ptr; |