Suppress more -Wparentheses warnings

[Fix GH-1958]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-09-21 10:31:11 +00:00
parent 2def52500f
commit 0d95805c2e
4 changed files with 7 additions and 4 deletions

View file

@ -6686,7 +6686,8 @@ constat_apply(HANDLE handle, struct constat *s, WCHAR w)
COORD pos;
if (!GetConsoleScreenBufferInfo(handle, &csbi)) return;
if (arg0 = (count > 0 && seq[0] > 0)) arg1 = seq[0];
arg0 = (count > 0 && seq[0] > 0);
if (arg0) arg1 = seq[0];
switch (w) {
case L'm':
SetConsoleTextAttribute(handle, constat_attr(count, seq, csbi.wAttributes, s->vt100.attr, &s->vt100.reverse));