From 79255fa27cba9ea1884e29df700466ef5f946566 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Fri, 6 Jan 2023 16:41:45 -0600 Subject: [PATCH] Remove unnecessary check from netrigctl.c https://github.com/Hamlib/Hamlib/issues/1155 --- rigs/dummy/netrigctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/rigs/dummy/netrigctl.c b/rigs/dummy/netrigctl.c index 6ad737fc2..03976838e 100644 --- a/rigs/dummy/netrigctl.c +++ b/rigs/dummy/netrigctl.c @@ -824,7 +824,6 @@ static int netrigctl_open(RIG *rig) if (n == 2) { - if (agc_code == RIG_AGC_OFF) { p = strtok(NULL, " "); continue; } ; rig->caps->agc_levels[i++] = agc_code; rig->caps->agc_level_count++; rig_debug(RIG_DEBUG_VERBOSE, "%s: rig has agc code=%d, level=%s\n", __func__,