summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2007-02-25 16:01:58 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2007-02-25 16:01:58 (GMT)
commit714b112ae5e5f450ec48dd61f5b501bbdc9f4f5d (patch)
tree6f41b9ad6dca9cc8a7d291985f1871300770d873 /Python
parentc5ceb251b395c207ed0411d1e94f0fd3703157ea (diff)
downloadcpython-714b112ae5e5f450ec48dd61f5b501bbdc9f4f5d.zip
cpython-714b112ae5e5f450ec48dd61f5b501bbdc9f4f5d.tar.gz
cpython-714b112ae5e5f450ec48dd61f5b501bbdc9f4f5d.tar.bz2
Put declarations before code.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 9e06302..b0617a2 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4202,9 +4202,9 @@ exec_statement(PyFrameObject *f, PyObject *prog, PyObject *globals,
else if (PyFile_Check(prog)) {
FILE *fp = PyFile_AsFile(prog);
char *name = PyString_AsString(PyFile_Name(prog));
+ PyCompilerFlags cf;
if (name == NULL)
return -1;
- PyCompilerFlags cf;
cf.cf_flags = 0;
if (PyEval_MergeCompilerFlags(&cf))
v = PyRun_FileFlags(fp, name, Py_file_input, globals,