mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fix Coverity #158: Check the correct variable.
This commit is contained in:
parent
c47cf7debe
commit
3adac21762
1 changed files with 1 additions and 1 deletions
|
@ -1468,7 +1468,7 @@ ast_for_binop(struct compiling *c, const node *n)
|
||||||
tmp_result = BinOp(result, newoperator, tmp,
|
tmp_result = BinOp(result, newoperator, tmp,
|
||||||
LINENO(next_oper), next_oper->n_col_offset,
|
LINENO(next_oper), next_oper->n_col_offset,
|
||||||
c->c_arena);
|
c->c_arena);
|
||||||
if (!tmp)
|
if (!tmp_result)
|
||||||
return NULL;
|
return NULL;
|
||||||
result = tmp_result;
|
result = tmp_result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue