Fix a couple compile warnings

pull/290/head
Michael Black W9MDB 2020-06-09 22:27:27 -05:00
rodzic 490e05595a
commit 044126fe0b
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -439,7 +439,7 @@ int format8k_mode(RIG *rig, char *buf, rmode_t mode, pbwidth_t width)
int aor_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
{
struct aor_priv_caps *priv = (struct aor_priv_caps *)rig->caps->priv;
char mdbuf[8];
char mdbuf[9];
char mdbuf2[16] = "";
int mdbuf2_len, retval;

Wyświetl plik

@ -580,7 +580,7 @@ int rx340_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
const char *rx340_get_info(RIG *rig)
{
static char buf[BUFSZ]; /* FIXME: reentrancy */
int firmware_len, retval;
int firmware_len=0, retval;
#define REPORT_FIRM "V"EOM
retval = rx340_transaction(rig, REPORT_FIRM, strlen(REPORT_FIRM), buf,