* kod.c (kod_set_os): Remove unnecessary check that

``command->type'' is set_cmd.
This commit is contained in:
Andrew Cagney
2002-03-17 16:25:09 +00:00
parent f66c9f11b6
commit 8e694ecf16
2 changed files with 3 additions and 3 deletions

View File

@@ -132,9 +132,6 @@ kod_set_os (char *arg, int from_tty, struct cmd_list_element *command)
{
char *p;
if (command->type != set_cmd)
return;
/* If we had already had an open OS, close it. */
if (gdb_kod_close)
(*gdb_kod_close) ();