Remove an empty-body 'if' statement

This patch removes the if statement and the comments together.

gdb:

2014-01-07  Yao Qi  <yao@codesourcery.com>

	* gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
	statement.
This commit is contained in:
Yao Qi 2014-01-05 19:32:51 +08:00
parent 0cc6f43dae
commit c26e9cbb0c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-01-07 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
statement.
2014-01-07 Yao Qi <yao@codesourcery.com> 2014-01-07 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (info_port_rights): Add qualifier const to * gnu-nat.c (info_port_rights): Add qualifier const to

View File

@ -3002,9 +3002,8 @@ set_exceptions_cmd (char *args, int from_tty)
struct inf *inf = cur_inf (); struct inf *inf = cur_inf ();
int val = parse_bool_arg (args, "set exceptions"); int val = parse_bool_arg (args, "set exceptions");
if (inf->task && inf->want_exceptions != val) /* Make this take effect immediately in a running process. */
/* Make this take effect immediately in a running process. */ /* XXX */ ;
/* XXX */ ;
inf->want_exceptions = val; inf->want_exceptions = val;
} }