Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed3da23

Browse files
committed
parser_compare_nodes(): Corrected a minor type error; eliminate one GCC
warning (at least under Linux).
1 parent 03e35c5 commit ed3da23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/parsermodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ parser_compare_nodes(left, right)
266266
for (j = 0; j < NCH(left); ++j) {
267267
int v = parser_compare_nodes(CHILD(left, j), CHILD(right, j));
268268

269-
if (v != NULL)
269+
if (v != 0)
270270
return (v);
271271
}
272272
return (0);

0 commit comments

Comments
 (0)