]> sigrok.org Git - libsigrok.git/blobdiff - hardware/demo/demo.c
sr_driver_scan(): Improve checks.
[libsigrok.git] / hardware / demo / demo.c
index b20239a1d137e5b13364f691c2f64ab666911ac5..923d20a9b60acdd256e3dfba8e2e64faa0b5feed 100644 (file)
@@ -172,6 +172,7 @@ static GSList *hw_scan(GSList *options)
        (void)options;
 
        drvc = di->priv;
+
        devices = NULL;
 
        sdi = sr_dev_inst_new(0, SR_ST_ACTIVE, DEMONAME, NULL, NULL);