From e17cb128f7fabfc57ee77974ac3183e31910c535 Mon Sep 17 00:00:00 2001 From: adustman Date: Sat, 17 Mar 2001 00:39:25 +0000 Subject: [PATCH] Clean up insignificant compiler warnings. --- mysql/_mysqlmodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mysql/_mysqlmodule.c b/mysql/_mysqlmodule.c index 2508b86..eb5a6c5 100644 --- a/mysql/_mysqlmodule.c +++ b/mysql/_mysqlmodule.c @@ -1364,7 +1364,6 @@ _mysql_Constant_class( char *name) { PyObject *d = NULL; - int i; if (!(d = PyImport_ImportModule(type))) goto error; if (PyDict_SetItemString(mdict, name, d)) goto error; Py_DECREF(d); @@ -1416,7 +1415,7 @@ For everything else, check the MySQL docs." ; DL_EXPORT(void) init_mysql(void) { - PyObject *c, *dict, *module; + PyObject *dict, *module; module = Py_InitModule3("_mysql", _mysql_methods, _mysql___doc__); #ifdef MS_WIN32 _mysql_ConnectionObject_Type.ob_type = &PyType_Type;