projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am7xxx: silent a warning enabled by 'sparse' about an uninitialized variable
[libam7xxx.git]
/
src
/
am7xxx.c
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
114027e
..
11c259d
100644
(file)
--- a/
src/am7xxx.c
+++ b/
src/am7xxx.c
@@
-464,6
+464,8
@@
static int scan_devices(am7xxx_context *ctx, scan_op op,
goto out;
}
goto out;
}
+ /* everything went fine when building the device list */
+ ret = 0;
out:
libusb_free_device_list(list, 1);
return ret;
out:
libusb_free_device_list(list, 1);
return ret;