From: Uwe Hermann Date: Thu, 26 Dec 2013 11:52:29 +0000 (+0100) Subject: gmc-mh-1x-2x: Fix two compiler warnings. X-Git-Tag: libsigrok-0.3.0~408 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ec29a878e0ca0b18969b00274744d0788234b54d;p=libsigrok.git gmc-mh-1x-2x: Fix two compiler warnings. --- diff --git a/hardware/gmc-mh-1x-2x/api.c b/hardware/gmc-mh-1x-2x/api.c index c95f3523..b21f4dc4 100644 --- a/hardware/gmc-mh-1x-2x/api.c +++ b/hardware/gmc-mh-1x-2x/api.c @@ -134,7 +134,6 @@ static GSList *scan_1x_2x_rs232(GSList *options) const char *conn, *serialcomm; enum model model; gboolean serialcomm_given; - int cnt; devices = NULL; drvc = (&gmc_mh_1x_2x_rs232_driver_info)->priv; @@ -312,6 +311,7 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi, const struct sr_probe_group *probe_group) { (void)sdi; + (void)probe_group; switch (key) { case SR_CONF_SCAN_OPTIONS: