projects
/
libsigrok.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
385cb66
)
hantek-dso: Code cleanup.
author
Bert Vermeulen
<redacted>
Thu, 2 Oct 2014 13:03:18 +0000
(15:03 +0200)
committer
Bert Vermeulen
<redacted>
Thu, 2 Oct 2014 13:03:18 +0000
(15:03 +0200)
This cleans up a warning generated by clang's static analyzer.
src/hardware/hantek-dso/api.c
patch
|
blob
|
blame
|
history
diff --git
a/src/hardware/hantek-dso/api.c
b/src/hardware/hantek-dso/api.c
index 6f1580940f32afe4dcf6fc66ddedc2aac37fb254..e34f328eb20a89eabec27981be9ab5a9bebefaa9 100644
(file)
--- a/
src/hardware/hantek-dso/api.c
+++ b/
src/hardware/hantek-dso/api.c
@@
-342,7
+342,6
@@
static GSList *scan(GSList *options)
sdi->connection_id = g_strdup(connection_id);
sdi->status = SR_ST_INACTIVE;
devices = g_slist_append(devices, sdi);
- devc = sdi->priv;
sdi->inst_type = SR_INST_USB;
sdi->conn = sr_usb_dev_inst_new(
libusb_get_bus_number(devlist[i]),