From f43ef377289eef8e8ae936723c0c0903e83075e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ga=C3=ABtan=20de=20Menten?= Date: Sun, 14 Feb 2010 20:55:06 +0000 Subject: [PATCH] fixed a huge bug in the C version of the unicode processor --- lib/sqlalchemy/cextension/processors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.3