From 7f23d86107dfea69992322577c5033f2edbc3b4f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 26 Mar 2008 22:51:58 +0000 Subject: Initialize PyCompilerFlags cf_flags with 0 --- Python/pythonrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 423aae14c07..39d7327dd86 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1398,6 +1398,8 @@ Py_SymtableString(const char *str, const char *filename, int start) if (arena == NULL) return NULL; + flags.cf_flags = 0; + mod = PyParser_ASTFromString(str, filename, start, &flags, arena); if (mod == NULL) { PyArena_Free(arena); -- cgit v1.2.3