aboutsummaryrefslogtreecommitdiff
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
commit8e694ecf1662b94f20df6427b91967579f8cca11 (patch)
treec74129ab04c3fbecd51a80be8fb9039ebedec80a /gdb/kod.c
parentf66c9f11b6a343a68f2e88b23a521334e257af0b (diff)
downloadgdb-8e694ecf1662b94f20df6427b91967579f8cca11.zip
gdb-8e694ecf1662b94f20df6427b91967579f8cca11.tar.gz
gdb-8e694ecf1662b94f20df6427b91967579f8cca11.tar.bz2
* 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 2641c38..68ce18c 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) ();