Fix newcat.c uninitialized var

pull/494/head
Michael Black W9MDB 2020-12-22 08:34:04 -06:00
rodzic 3211e3aea1
commit 5d2f5012c0
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -2857,7 +2857,7 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
struct rig_state *state = &rig->state; struct rig_state *state = &rig->state;
struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv; struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv;
int retval; int retval;
int i; int i = 0;
int retry_save; int retry_save;
char ps; char ps;

Wyświetl plik

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