mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Fix cppcheck warnings in rigctl_parse.c
This commit is contained in:
parent
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: ");
|
||||||
|
Loading…
Reference in New Issue
Block a user