kopia lustrzana https://github.com/Hamlib/Hamlib
Fix a couple compile warnings
rodzic
490e05595a
commit
044126fe0b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue