summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 15:27:41 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 15:27:41 +0000
commiteca115c34b405f9672c165b744688bec9fd6e851 (patch)
tree9b69656cb5f4c7190ff9229735d2c7ff629b85a8 /ext
parent8152750145427a2d8face09a1be18081412bcd55 (diff)
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 894ee58..31a0b94 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;
}
}