Dropped unused variable

This commit is contained in:
Daniele Varrazzo 2011-11-01 07:42:22 +00:00
parent 865fb2d792
commit a76d0525d1

View File

@ -111,13 +111,12 @@ Bytes_Format(PyObject *format, PyObject *args)
Py_ssize_t arglen, argidx; Py_ssize_t arglen, argidx;
Py_ssize_t reslen, rescnt, fmtcnt; Py_ssize_t reslen, rescnt, fmtcnt;
int args_owned = 0; int args_owned = 0;
PyObject *result, *orig_args; PyObject *result;
PyObject *dict = NULL; PyObject *dict = NULL;
if (format == NULL || !Bytes_Check(format) || args == NULL) { if (format == NULL || !Bytes_Check(format) || args == NULL) {
PyErr_BadInternalCall(); PyErr_BadInternalCall();
return NULL; return NULL;
} }
orig_args = args;
fmt = Bytes_AS_STRING(format); fmt = Bytes_AS_STRING(format);
fmtcnt = Bytes_GET_SIZE(format); fmtcnt = Bytes_GET_SIZE(format);
reslen = rescnt = fmtcnt + 100; reslen = rescnt = fmtcnt + 100;