Skip to content

Commit 53e35c2

Browse files
committed
Move side effect out of conditional
The side effect is intentional, but compilers might rightfully warn about this.
1 parent 475fe20 commit 53e35c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cpp/parse.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,9 @@ bool Parser::rArgDeclListOrInit(
40204020
}
40214021
else
40224022
{
4023-
if((is_args=rArgDeclList(arglist)))
4023+
is_args = rArgDeclList(arglist);
4024+
4025+
if(is_args)
40244026
return true;
40254027
else
40264028
{

0 commit comments

Comments
 (0)