From 1c3fd875b9fafbcb6e253fe9a00275e7348f8fb7 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 21 Mar 2004 21:35:41 +0000 Subject: [PATCH] PyTuple_New(): vrbl i no longer referenced, so removed it (which kills off a new compiler wng under MSVC6). --- Objects/tupleobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 9794bec8ba2..a5e37b09e03 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;