Remove -Wno-parentheses flag.

[Fix GH-1958]

From: Jun Aruga <jaruga@redhat.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-09-21 10:19:10 +00:00
parent 2617dfa9bd
commit 7e9ee35fb8
8 changed files with 13 additions and 13 deletions

2
re.c
View file

@ -95,7 +95,7 @@ rb_memsearch_ss(const unsigned char *xs, long m, const unsigned char *ys, long n
{
const unsigned char *y;
if (y = memmem(ys, n, xs, m))
if ((y = memmem(ys, n, xs, m)) != NULL)
return y - ys;
else
return -1;