kopia lustrzana https://github.com/Hamlib/Hamlib
Fix newcat.c uninitialized var
rodzic
3211e3aea1
commit
5d2f5012c0
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue