Fix cppcheck warning

pull/1404/head
Mike Black W9MDB 2023-10-14 12:45:37 -05:00
rodzic 8d15c04727
commit b72dd095f7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1264,7 +1264,7 @@ static int ar7030p_set_vfo(RIG *rig, vfo_t vfo)
static int ar7030p_get_vfo(RIG *rig, vfo_t *vfo)
{
int rc = RIG_OK;
struct ar7030p_priv_data *priv = (struct ar7030p_priv_data *) rig->state.priv;
struct ar7030p_priv_data const *priv = (struct ar7030p_priv_data *) rig->state.priv;
assert(NULL != vfo);
@ -1348,7 +1348,7 @@ static int ar7030p_get_mem(RIG *rig, vfo_t vfo, int *ch)
{
int rc = RIG_OK;
struct ar7030p_priv_data *priv = (struct ar7030p_priv_data *) rig->state.priv;
struct ar7030p_priv_data const *priv = (struct ar7030p_priv_data *) rig->state.priv;
const channel_t *curr = priv->curr;
assert(NULL != ch);