const struct channel_spec *ch_spec;
GVariant *gvar;
GVariantBuilder gvb;
- int ret, i;
+ int i;
const char *s[16];
/* Always available, even without sdi. */
return SR_ERR_ARG;
devc = sdi->priv;
- ret = SR_OK;
if (!cg) {
/* No channel group: global options. */
switch (key) {
}
}
- return ret;
+ return SR_OK;
}
static int dev_acquisition_start(const struct sr_dev_inst *sdi)