gdb, infcmd: remove redundant ERROR_NO_INFERIOR in continue_command

The ERROR_NO_INFERIOR macro is already called at the beginning of the
function continue_command.  Since target/inferior are not switched in-between,
the second call to it is redundant.

Co-Authored-By: Christina Schimpe <christina.schimpe@intel.com>
This commit is contained in:
Nils-Christian Kempke 2022-04-06 10:11:23 +02:00 committed by Christina Schimpe
parent a6e5abae4e
commit b863b097ee

View File

@ -735,7 +735,6 @@ continue_command (const char *args, int from_tty)
}
}
ERROR_NO_INFERIOR;
ensure_not_tfind_mode ();
if (!non_stop || !all_threads_p)