From 9d6e0fb73089b4343ecf14fb2da8f454fdb09ec8 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 22 Dec 2020 08:34:04 -0600 Subject: [PATCH] Fix newcat.c uninitialized var (cherry picked from commit 5d2f5012c0623411be02308167a85cab64a7e328) --- rigs/yaesu/newcat.c | 2 +- rigs/yaesu/newcat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 7099384bc..7c231116c 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -2857,7 +2857,7 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status) struct rig_state *state = &rig->state; struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv; int retval; - int i; + int i = 0; int retry_save; char ps; diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index f784d3219..bf8b796a4 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20201219" +#define NEWCAT_VER "20201222" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129