X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=device.c;h=55d306b323699c3ba8a5948a3b1a679eb7b54101;hp=b8709dc2bf0a7a4cca8eb559fdb21f34cc7ecf70;hb=f553109693c34861f14884b917139bef19d79000;hpb=ca50f4b3d69016014c8ab9d7765da68fdb8d796f diff --git a/device.c b/device.c index b8709dc..55d306b 100644 --- a/device.c +++ b/device.c @@ -23,8 +23,6 @@ #include extern struct sr_context *sr_ctx; -extern gchar *opt_drv; -extern gchar *opt_channel_group; /* Convert driver options hash to GSList of struct sr_config. */ static GSList *hash_to_hwopt(GHashTable *hash) @@ -135,6 +133,7 @@ struct sr_channel_group *select_channel_group(struct sr_dev_inst *sdi) return cg; } } + g_critical("Invalid channel group '%s'", opt_channel_group); return NULL; }