summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorGaëtan de Menten <gdementen@gmail.com>2010-02-14 20:55:06 +0000
committerGaëtan de Menten <gdementen@gmail.com>2010-02-14 20:55:06 +0000
commitf43ef377289eef8e8ae936723c0c0903e83075e9 (patch)
tree04a02691a9a4e649e63191350297f61379f86c63 /lib/sqlalchemy
parent6a935a0e27dc7a196be2f325a2bf8e39486821b4 (diff)
downloadsqlalchemy-f43ef377289eef8e8ae936723c0c0903e83075e9.tar.gz
fixed a huge bug in the C version of the unicode processor
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/cextension/processors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/cextension/processors.c b/lib/sqlalchemy/cextension/processors.c
index 23b7be4f2..d2d398090 100644
--- a/lib/sqlalchemy/cextension/processors.c
+++ b/lib/sqlalchemy/cextension/processors.c
@@ -155,7 +155,7 @@ static int
UnicodeResultProcessor_init(UnicodeResultProcessor *self, PyObject *args,
PyObject *kwds)
{
- PyObject *encoding, *errors;
+ PyObject *encoding, *errors = NULL;
static char *kwlist[] = {"encoding", "errors", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "S|S:init", kwlist,