move declaration to top of the function to appease the c89 gods
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c
index da30f3b..33cd38d 100644
--- a/Modules/_hotshot.c
+++ b/Modules/_hotshot.c
@@ -340,6 +340,7 @@
{
PyObject *key = NULL;
PyObject *value = NULL;
+ PyObject *list;
int err;
err = unpack_string(self, &key);
@@ -348,7 +349,7 @@
err = unpack_string(self, &value);
if (err)
goto finally;
- PyObject *list = PyDict_GetItem(self->info, key);
+ list = PyDict_GetItem(self->info, key);
if (list == NULL) {
list = PyList_New(0);
if (list == NULL) {