summaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index c4e39484410..f325c4e80ab 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -770,7 +770,7 @@ check_init (tree exp, words before)
break;
case NOP_EXPR:
- if (exp == empty_stmt_node)
+ if (IS_EMPTY_STMT (exp))
break;
/* ... else fall through ... */
case UNARY_PLUS_EXPR:
@@ -889,7 +889,7 @@ check_init (tree exp, words before)
location_t saved_location = input_location;
tree saved_wfl = wfl;
tree body = EXPR_WFL_NODE (exp);
- if (body == empty_stmt_node)
+ if (IS_EMPTY_STMT (body))
break;
wfl = exp;
input_filename = EXPR_WFL_FILENAME (exp);