Fix compiler warning in newcat.c

Hamlib-4.1
Michael Black W9MDB 2021-01-30 11:05:34 -06:00
rodzic d8492c6602
commit d20635dfe6
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -7064,7 +7064,7 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
{
struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv;
int err;
int w;
int w = 0;
char main_sub_vfo = '0';
ENTERFUNC;

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20210124"
#define NEWCAT_VER "20210130"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129