Fix tmd710 uninitialized tmd710_mode

This commit is contained in:
Michael Black 2019-11-30 13:07:32 -06:00
parent dc3f33bc11
commit 81c696bdd9
No known key found for this signature in database
GPG Key ID: 6599353EC683404D

View File

@ -1369,7 +1369,7 @@ static int tmd710_get_mode_tmd710_value(rmode_t mode, int *tmd710_mode)
*/
static int tmd710_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
{
int retval, tmd710_mode;
int retval, tmd710_mode = 0;
tmd710_fo fo_struct;
rig_debug(RIG_DEBUG_TRACE, "%s: called\n", __func__);