mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
parser_compare_nodes(): Corrected a minor type error; eliminate one GCC
warning (at least under Linux).
This commit is contained in:
parent
03e35c548f
commit
ed3da23e44
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ parser_compare_nodes(left, right)
|
||||||
for (j = 0; j < NCH(left); ++j) {
|
for (j = 0; j < NCH(left); ++j) {
|
||||||
int v = parser_compare_nodes(CHILD(left, j), CHILD(right, j));
|
int v = parser_compare_nodes(CHILD(left, j), CHILD(right, j));
|
||||||
|
|
||||||
if (v != NULL)
|
if (v != 0)
|
||||||
return (v);
|
return (v);
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue