Fix cppcheck style

pull/1354/head
Mike Black W9MDB 2023-08-02 22:52:06 -05:00
rodzic 89214bf132
commit 2f818472ab
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -614,7 +614,7 @@ int drake_get_mem(RIG *rig, vfo_t vfo, int *ch)
*/
int drake_set_chan(RIG *rig, vfo_t vfo, const channel_t *chan)
{
struct drake_priv_data *priv = rig->state.priv;
const struct drake_priv_data *priv = rig->state.priv;
vfo_t old_vfo;
int old_chan;
char mdbuf[16], ackbuf[16];
@ -670,7 +670,7 @@ int drake_set_chan(RIG *rig, vfo_t vfo, const channel_t *chan)
*/
int drake_get_chan(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
{
struct drake_priv_data *priv = rig->state.priv;
const struct drake_priv_data *priv = rig->state.priv;
vfo_t old_vfo;
int old_chan;
char mdbuf[BUFSZ], freqstr[BUFSZ];
@ -882,7 +882,7 @@ int drake_get_chan(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
*/
int drake_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op)
{
struct drake_priv_data *priv = rig->state.priv;
const struct drake_priv_data *priv = rig->state.priv;
char buf[16], ackbuf[16];
int len, ack_len, retval;