diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-05 19:32:51 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-01-07 11:01:55 +0800 |
commit | c26e9cbb0ce70e8fca32a40c434a0837bf46750a (patch) | |
tree | 72bf18ee2ab416d77c0b994327b7ae84e842b65d /gdb/gnu-nat.c | |
parent | 0cc6f43dae73e5805f470fc823c3e503b8cdbffe (diff) | |
download | gdb-c26e9cbb0ce70e8fca32a40c434a0837bf46750a.zip gdb-c26e9cbb0ce70e8fca32a40c434a0837bf46750a.tar.gz gdb-c26e9cbb0ce70e8fca32a40c434a0837bf46750a.tar.bz2 |
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.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index ffab91e..3da27d3 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3002,9 +3002,8 @@ set_exceptions_cmd (char *args, int from_tty) struct inf *inf = cur_inf (); int val = parse_bool_arg (args, "set exceptions"); - if (inf->task && inf->want_exceptions != val) - /* Make this take effect immediately in a running process. */ - /* XXX */ ; + /* Make this take effect immediately in a running process. */ + /* XXX */ ; inf->want_exceptions = val; } |