From 8219214ff077db3f72a2996da417c0bea3563987 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 2 Oct 2014 15:03:18 +0200 Subject: [PATCH] hantek-dso: Code cleanup. This cleans up a warning generated by clang's static analyzer. --- src/hardware/hantek-dso/api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hardware/hantek-dso/api.c b/src/hardware/hantek-dso/api.c index 6f158094..e34f328e 100644 --- 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]),