mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Dropped unused variable
This commit is contained in:
parent
865fb2d792
commit
a76d0525d1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user