From: Gaƫtan de Menten Date: Sun, 14 Feb 2010 20:55:06 +0000 (+0000) Subject: fixed a huge bug in the C version of the unicode processor X-Git-Tag: rel_0_6beta2~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f43ef377289eef8e8ae936723c0c0903e83075e9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed a huge bug in the C version of the unicode processor --- diff --git a/lib/sqlalchemy/cextension/processors.c b/lib/sqlalchemy/cextension/processors.c index 23b7be4f2f..d2d3980904 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,