Fix cppcheck warnings in rigctl.c

pull/155/head
Michael Black 2019-12-08 23:33:51 -06:00
rodzic f7399eb8df
commit e56db8c985
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -151,7 +151,7 @@ int main(int argc, char *argv[])
int serial_rate = 0;
char *civaddr = NULL; /* NULL means no need to set conf */
char conf_parms[MAXCONFLEN] = "";
int interactive = 1; /* if no cmd on command line, switch to interactive */
int interactive; /* if no cmd on command line, switch to interactive */
int prompt = 1; /* Print prompt in rigctl */
int vfo_mode = 0; /* vfo_mode = 0 means target VFO is 'currVFO' */
char send_cmd_term = '\r'; /* send_cmd termination char */
@ -432,6 +432,9 @@ int main(int argc, char *argv[])
{
interactive = 0;
}
else {
interactive = 1;
}
my_rig = rig_init(my_model);