hantek-dso: Code cleanup.
This cleans up a warning generated by clang's static analyzer.
This commit is contained in:
parent
385cb66058
commit
8219214ff0
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue