From 8e0e408ae67929c13582e95db3f037627b83947f Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 6 Dec 2010 14:16:43 +0000 Subject: 2010-12-06 Marc Khouzam * mi/mi-parse.c (mi_parse): Missing else. --- gdb/mi/mi-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index a5a4e75..4541b66 100644 --- a/gdb/mi/mi-parse.c +++ b/gdb/mi/mi-parse.c @@ -319,7 +319,7 @@ mi_parse (char *cmd) chp += 1; parse->thread_group = strtol (chp, &chp, 10); } - if (strncmp (chp, "--thread ", ts) == 0) + else if (strncmp (chp, "--thread ", ts) == 0) { if (parse->thread != -1) error (_("Duplicate '--thread' option")); -- cgit v1.1