diff options
author | Moshe Zadka <moshez@math.huji.ac.il> | 2000-08-04 22:31:42 (GMT) |
---|---|---|
committer | Moshe Zadka <moshez@math.huji.ac.il> | 2000-08-04 22:31:42 (GMT) |
commit | cf4d8ccb051fa9ad15b69a7beb7b908f34a3ca96 (patch) | |
tree | bb6a35f11e94eec3b9cd33afc16fdfd978835358 /Modules | |
parent | 9fb6af9640994b6216897d3a6ce89362aea22f6a (diff) | |
download | cpython-cf4d8ccb051fa9ad15b69a7beb7b908f34a3ca96.zip cpython-cf4d8ccb051fa9ad15b69a7beb7b908f34a3ca96.tar.gz cpython-cf4d8ccb051fa9ad15b69a7beb7b908f34a3ca96.tar.bz2 |
Removed unnecessary local variable -- gave warning on gcc -Wall
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index fe6bf22..4f8969b 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -148,7 +148,6 @@ static PyObject* set_history_length(PyObject *self, PyObject *args) { int length = history_length; - PyObject* ob; if (!PyArg_ParseTuple(args, "i:set_history_length", &length)) return NULL; history_length = length; @@ -166,7 +165,6 @@ return the current history length value.\n\ static PyObject* get_history_length(PyObject *self, PyObject *args) { - PyObject* ob; if (!PyArg_ParseTuple(args, ":get_history_length")) return NULL; return Py_BuildValue("i", history_length); |