Skip to content

Commit

Permalink
Fix error with C90 mixed declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunklau committed Oct 20, 2014
1 parent bbf96c3 commit 5ce77b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ init_utils(void)
#else
PyObject *module = Py_InitModule("multicorn._utils", UtilsMethods);
#endif

struct module_state *st;
if (module == NULL)
INITERROR;
struct module_state *st = GETSTATE(module);
st = GETSTATE(module);

#if PY_MAJOR_VERSION >= 3
return module;
Expand Down

0 comments on commit 5ce77b5

Please sign in to comment.