kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warnings in rigctl_parse.c
rodzic
776e21017b
commit
d81d60dfc1
|
@ -614,10 +614,10 @@ int rigctl_parse(RIG *my_rig, FILE *fin, FILE *fout, char *argv[], int argc,
|
||||||
/* cmd, internal, rigctld */
|
/* cmd, internal, rigctld */
|
||||||
if (!(interactive && prompt && have_rl))
|
if (!(interactive && prompt && have_rl))
|
||||||
{
|
{
|
||||||
static int last_was_ret = 1;
|
|
||||||
|
|
||||||
if (interactive)
|
if (interactive)
|
||||||
{
|
{
|
||||||
|
static int last_was_ret = 1;
|
||||||
if (prompt)
|
if (prompt)
|
||||||
{
|
{
|
||||||
fprintf_flush(fout, "\nRig command: ");
|
fprintf_flush(fout, "\nRig command: ");
|
||||||
|
|
Ładowanie…
Reference in New Issue