diff Python/compile.c @ 36084:301fb0a99371 legacy-trunk

fixed compilation with an ordinary C89 compiler
author Fredrik Lundh <fredrik@pythonware.com>
date Sun, 18 Dec 2005 15:44:21 +0000
parents 19d96c2d7df5
children ade46371f04b
line wrap: on
line diff
--- a/Python/compile.c	Sun Dec 18 13:58:25 2005 +0000
+++ b/Python/compile.c	Sun Dec 18 15:44:21 2005 +0000
@@ -296,8 +296,7 @@
 PyNode_Compile(struct _node *n, const char *filename)
 {
 	PyCodeObject *co = NULL;
-        PyArena *arena;
-        arena = PyArena_New();
+        PyArena *arena = PyArena_New();
 	mod_ty mod = PyAST_FromNode(n, NULL, filename, arena);
 	if (mod)
 		co = PyAST_Compile(mod, filename, NULL, arena);