[Python-checkins] cpython (3.3): Silence warning about set but unused variable inside compile_atom() in
christian.heimes
python-checkins at python.org
Wed Jul 31 23:50:17 CEST 2013
http://hg.python.org/cpython/rev/83a55ca935f0
changeset: 84938:83a55ca935f0
branch: 3.3
parent: 84908:9bf89c909bd4
user: Christian Heimes <christian at cheimes.de>
date: Wed Jul 31 23:47:56 2013 +0200
summary:
Silence warning about set but unused variable inside compile_atom() in non-debug builds
files:
Parser/pgen.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Parser/pgen.c b/Parser/pgen.c
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -283,6 +283,7 @@
REQ(n, ATOM);
i = n->n_nchildren;
+ (void)i; /* Don't warn about set but unused */
REQN(i, 1);
n = n->n_child;
if (n->n_type == LPAR) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list