gmc-mh-1x-2x: Fix two compiler warnings.
This commit is contained in:
parent
fc348b770a
commit
ec29a878e0
|
@ -134,7 +134,6 @@ static GSList *scan_1x_2x_rs232(GSList *options)
|
||||||
const char *conn, *serialcomm;
|
const char *conn, *serialcomm;
|
||||||
enum model model;
|
enum model model;
|
||||||
gboolean serialcomm_given;
|
gboolean serialcomm_given;
|
||||||
int cnt;
|
|
||||||
|
|
||||||
devices = NULL;
|
devices = NULL;
|
||||||
drvc = (&gmc_mh_1x_2x_rs232_driver_info)->priv;
|
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)
|
const struct sr_probe_group *probe_group)
|
||||||
{
|
{
|
||||||
(void)sdi;
|
(void)sdi;
|
||||||
|
(void)probe_group;
|
||||||
|
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case SR_CONF_SCAN_OPTIONS:
|
case SR_CONF_SCAN_OPTIONS:
|
||||||
|
|
Loading…
Reference in New Issue