[Python-checkins] r58330 - python/trunk/Python/ast.c
neal.norwitz
python-checkins at python.org
Fri Oct 5 05:41:20 CEST 2007
Author: neal.norwitz
Date: Fri Oct 5 05:41:19 2007
New Revision: 58330
Modified:
python/trunk/Python/ast.c
Log:
Fix Coverity #158: Check the correct variable.
Modified: python/trunk/Python/ast.c
==============================================================================
--- python/trunk/Python/ast.c (original)
+++ python/trunk/Python/ast.c Fri Oct 5 05:41:19 2007
@@ -1468,7 +1468,7 @@
tmp_result = BinOp(result, newoperator, tmp,
LINENO(next_oper), next_oper->n_col_offset,
c->c_arena);
- if (!tmp)
+ if (!tmp_result)
return NULL;
result = tmp_result;
}
More information about the Python-checkins
mailing list