Fix cppcheck warnings in rotator.c

pull/155/head
Michael Black 2019-12-08 22:47:51 -06:00
rodzic 6c0f101900
commit ddfa154694
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -199,7 +199,6 @@ ROT *HAMLIB_API rot_init(rot_model_t rot_model)
ROT *rot;
const struct rot_caps *caps;
struct rot_state *rs;
int retcode;
rot_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
@ -283,7 +282,7 @@ ROT *HAMLIB_API rot_init(rot_model_t rot_model)
*/
if (caps->rot_init != NULL)
{
retcode = caps->rot_init(rot);
int retcode = caps->rot_init(rot);
if (retcode != RIG_OK)
{