X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ftondaj-sl-814%2Fapi.c;h=c621eeb8cf3042033c3fe21ac628447b89fd0014;hb=4b97c74e0b5c19ad0ee04620b618461248ab69d7;hp=9edc441bdbd809aa1ea1a375652563630745a100;hpb=c0eea11c4535e071c72b357fa7e2d1288104c134;p=libsigrok.git diff --git a/hardware/tondaj-sl-814/api.c b/hardware/tondaj-sl-814/api.c index 9edc441b..c621eeb8 100644 --- a/hardware/tondaj-sl-814/api.c +++ b/hardware/tondaj-sl-814/api.c @@ -93,10 +93,11 @@ static GSList *hw_scan(GSList *options) GSList *devices, *l; const char *conn, *serialcomm; - devices = NULL; drvc = di->priv; drvc->instances = NULL; + devices = NULL; + conn = serialcomm = NULL; for (l = options; l; l = l->next) { if (!(src = l->data)) {