From: Thomas Heller Date: Tue, 9 Apr 2002 12:50:13 +0000 (+0000) Subject: Fix an obvious bug. X-Git-Tag: v2.3c1~6084 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1630520e5ce10aaf5769712d39d93bbeedb5b934;p=python Fix an obvious bug. --- diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c index 3587c91eeb..c35d16ed1a 100644 --- a/Modules/xxmodule.c +++ b/Modules/xxmodule.c @@ -221,7 +221,7 @@ static PyMethodDef xx_methods[] = { DL_EXPORT(void) initxx(void) { - PyObject *m, *d; + PyObject *m; /* Initialize the type of the new type object here; doing it here * is required for portability to Windows without requiring C++. */ @@ -237,5 +237,5 @@ initxx(void) return; } Py_INCREF(ErrorObject); - PyModule_AddObject(d, "error", ErrorObject); + PyModule_AddObject(m, "error", ErrorObject); }