summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-11-01 07:42:22 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-11-01 07:42:22 +0000
commita76d0525d1c3ed7ed04a27f1b6575ef15ba81d4f (patch)
tree102a06278946e8c4de2e0eaa47aafe92d23d464e
parent865fb2d792ed73cb0210acdb75f0d7b269f9fa38 (diff)
downloadpsycopg2-a76d0525d1c3ed7ed04a27f1b6575ef15ba81d4f.tar.gz
Dropped unused variable
-rw-r--r--psycopg/bytes_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/psycopg/bytes_format.c b/psycopg/bytes_format.c
index 206e870..1e729e4 100644
--- a/psycopg/bytes_format.c
+++ b/psycopg/bytes_format.c
@@ -111,13 +111,12 @@ Bytes_Format(PyObject *format, PyObject *args)
Py_ssize_t arglen, argidx;
Py_ssize_t reslen, rescnt, fmtcnt;
int args_owned = 0;
- PyObject *result, *orig_args;
+ PyObject *result;
PyObject *dict = NULL;
if (format == NULL || !Bytes_Check(format) || args == NULL) {
PyErr_BadInternalCall();
return NULL;
}
- orig_args = args;
fmt = Bytes_AS_STRING(format);
fmtcnt = Bytes_GET_SIZE(format);
reslen = rescnt = fmtcnt + 100;