From eca115c34b405f9672c165b744688bec9fd6e851 Mon Sep 17 00:00:00 2001 From: ktsj Date: Fri, 9 Aug 2013 15:27:41 +0000 Subject: [PATCH] * ext/readline/readline.c (insert_ignore_escape): suppress logical-op-parentheses warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/readline/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 894ee5882d..31a0b94e0f 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -251,7 +251,7 @@ insert_ignore_escape(VALUE self, VALUE prompt) s0 = s; break; } - else if (!('0' <= *s && *s <= '9' || *s == ';')) { + else if (!(('0' <= *s && *s <= '9') || *s == ';')) { break; } }