summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-31 21:48:04 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-07-31 21:48:04 (GMT)
commit1289565f4b0a2870c461c67b9dc05eb7181c9c12 (patch)
treee87e0a960a2692ba5a10857f703f3c9c6ac9c3d7
parenta4617cdac93dfaef230c8a5025d73d86a55b7ab7 (diff)
parent5e4d3725249410e174f8b59e85323d83a24dfc86 (diff)
downloadcpython-1289565f4b0a2870c461c67b9dc05eb7181c9c12.zip
cpython-1289565f4b0a2870c461c67b9dc05eb7181c9c12.tar.gz
cpython-1289565f4b0a2870c461c67b9dc05eb7181c9c12.tar.bz2
Silence warning about set but unused variable inside compile_atom() in non-debug builds
-rw-r--r--Parser/pgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index beaf53b..b2f8470 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -283,6 +283,7 @@ compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
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) {