summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-21 16:36:08 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-21 16:36:08 (GMT)
commit3c76aa6b234fb1496b35488f30cca2fece467354 (patch)
tree04b5d60194b82683e3b804ec121af14bbab5dfd0 /Python
parent777db2d838f5c6feab9025c35a5b429dfb3248b1 (diff)
downloadcpython-3c76aa6b234fb1496b35488f30cca2fece467354.zip
cpython-3c76aa6b234fb1496b35488f30cca2fece467354.tar.gz
cpython-3c76aa6b234fb1496b35488f30cca2fece467354.tar.bz2
Remove unused variabile "plain" in builtin_exec.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index b85e37b..35b2cdc 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -793,7 +793,6 @@ builtin_exec(PyObject *self, PyObject *args)
{
PyObject *v;
PyObject *prog, *globals = Py_None, *locals = Py_None;
- int plain = 0;
if (!PyArg_UnpackTuple(args, "exec", 1, 3, &prog, &globals, &locals))
return NULL;
@@ -802,7 +801,6 @@ builtin_exec(PyObject *self, PyObject *args)
globals = PyEval_GetGlobals();
if (locals == Py_None) {
locals = PyEval_GetLocals();
- plain = 1;
}
if (!globals || !locals) {
PyErr_SetString(PyExc_SystemError,