Fix some RETURNFUNC statements to balance depth counter

pull/976/head
Mike Black W9MDB 2022-02-06 00:00:55 -06:00
rodzic 776c68e3b1
commit 2989782286
1 zmienionych plików z 3 dodań i 3 usunięć
rigs/kenwood

Wyświetl plik

@ -247,7 +247,7 @@ int kenwood_transaction(RIG *rig, const char *cmdstr, char *data,
if ((!cmdstr && !datasize) || (datasize && !data))
{
RETURNFUNC(-RIG_EINVAL);
RETURNFUNC2(-RIG_EINVAL);
}
rs = &rig->state;
@ -271,7 +271,7 @@ int kenwood_transaction(RIG *rig, const char *cmdstr, char *data,
if (data) { strncpy(data, priv->last_if_response, datasize); }
RETURNFUNC(RIG_OK);
RETURNFUNC2(RIG_OK);
}
// else we drop through and do the real IF command
@ -581,7 +581,7 @@ transaction_quit:
}
rs->transaction_active = 0;
RETURNFUNC(retval);
RETURNFUNC2(retval);
}