Fix cppcheck style

pull/1354/head
Mike Black W9MDB 2023-08-02 22:55:45 -05:00
rodzic 2c81d04ec0
commit 8cf3d5c02c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -142,7 +142,7 @@ Also a way to display faults (there are commands)
static int dummy_amp_get_freq(AMP *amp, freq_t *freq)
{
struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
const struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
amp->state.priv;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
*freq = priv->freq;
@ -266,7 +266,7 @@ static int dummy_amp_set_powerstat(AMP *amp, powerstat_t status)
static int dummy_amp_get_powerstat(AMP *amp, powerstat_t *status)
{
struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
const struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
amp->state.priv;
*status = priv->powerstat;