Fix cppcheck warning in newcat.c

pull/1458/head
Mike Black W9MDB 2023-12-17 12:52:34 -06:00
rodzic 027b780189
commit 248d5e44a9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7565,7 +7565,7 @@ int newcat_get_trn(RIG *rig, int *trn)
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s%c", command, cat_term);
/* Get Auto Information */
if (RIG_OK != (err = newcat_get_cmd(rig)))
if (RIG_OK != newcat_get_cmd(rig))
{
// if we failed to get AI we turn it off and try again
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s0%c", command, cat_term);