diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-03-21 21:35:41 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-03-21 21:35:41 (GMT) |
commit | 1c3fd875b9fafbcb6e253fe9a00275e7348f8fb7 (patch) | |
tree | f1d25a6f9fee50839ad228d5e033ec91829ecf1e | |
parent | 668034173bc130de874d294d27ec87cc632daa70 (diff) | |
download | cpython-1c3fd875b9fafbcb6e253fe9a00275e7348f8fb7.zip cpython-1c3fd875b9fafbcb6e253fe9a00275e7348f8fb7.tar.gz cpython-1c3fd875b9fafbcb6e253fe9a00275e7348f8fb7.tar.bz2 |
PyTuple_New(): vrbl i no longer referenced, so removed it (which kills
off a new compiler wng under MSVC6).
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 9794bec..a5e37b0 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -27,7 +27,7 @@ PyObject * PyTuple_New(register int size) { register PyTupleObject *op; - int i; + if (size < 0) { PyErr_BadInternalCall(); return NULL; |