Fixed conditional expressions with only one void side

This commit is contained in:
Nobuyoshi Nakada 2019-11-05 01:32:26 +09:00
Родитель bd3463ee35
Коммит a087e027bf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4BC7D6DF58D8DF60
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
%}