X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fdemo%2Fdemo.c;h=923d20a9b60acdd256e3dfba8e2e64faa0b5feed;hb=4b97c74e0b5c19ad0ee04620b618461248ab69d7;hp=b20239a1d137e5b13364f691c2f64ab666911ac5;hpb=c0eea11c4535e071c72b357fa7e2d1288104c134;p=libsigrok.git diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index b20239a1..923d20a9 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -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);