hantek-dso: Code cleanup.

This cleans up a warning generated by clang's static analyzer.
This commit is contained in:
Bert Vermeulen 2014-10-02 15:03:18 +02:00
parent 385cb66058
commit 8219214ff0
1 changed files with 0 additions and 1 deletions

View File

@ -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]),