diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-05 01:32:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-05 01:32:26 +0900 |
commit | a087e027bf7cf0fbb825f1d55668f85ab1f3c9e6 (patch) | |
tree | dead2f51a53eeac6fe237666a952d54a0177885d | |
parent | bd3463ee3591ab18dc06a4024ef6f78cc485d053 (diff) | |
download | ruby-a087e027bf7cf0fbb825f1d55668f85ab1f3c9e6.tar.gz |
Fixed conditional expressions with only one void side
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -955,7 +955,7 @@ static void token_info_warn(struct parser_params *p, const char *token, token_in #define WARN_EOL(tok) \ (looking_at_eol_p(p) ? \ - rb_warning0("`" tok "' at the end of line without an expression") : \ + (void)rb_warning0("`" tok "' at the end of line without an expression") : \ (void)0) static int looking_at_eol_p(struct parser_params *p); %} |