summaryrefslogtreecommitdiff
path: root/gdb/kod.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-17 16:25:09 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-17 16:25:09 +0000
commit54adcdf7deeef79485f7dc8856ec2d19da2409ec (patch)
treec8ccbfe1cb76fa7079e7de319ecfcb8f30c175eb /gdb/kod.c
parent9dfccc76877ffe72dc3ce3fa5b432f9a091542d7 (diff)
downloadgdb-54adcdf7deeef79485f7dc8856ec2d19da2409ec.tar.gz
* kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
Diffstat (limited to 'gdb/kod.c')
-rw-r--r--gdb/kod.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/kod.c b/gdb/kod.c
index 2641c38e009..68ce18c715a 100644
--- a/gdb/kod.c
+++ b/gdb/kod.c
@@ -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) ();