0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00

Properly use &&. Closes bug #434989.

This commit is contained in:
Martin v. Löwis 2001-06-23 19:55:38 +00:00
parent 01dfdb3d35
commit b28f6e7c7b

View File

@ -2524,7 +2524,7 @@ validate_node(node *tree)
int res = 1; /* result value */
node* next = 0; /* node to process after this one */
while (res & (tree != 0)) {
while (res && (tree != 0)) {
nch = NCH(tree);
next = 0;
switch (TYPE(tree)) {