Skip to content

Commit

Permalink
Local variables must be at the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-hof committed Feb 21, 2017
1 parent 6a244d2 commit f7fc76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ExtensionClass/pickle/pickle.c
Expand Up @@ -20,14 +20,14 @@ static PyObject *py___getnewargs__, *py___getstate__;
static int
pickle_setup(void)
{
PyObject* copy_reg;

#define INIT_STRING(S) if (!(py_ ## S = INTERN(#S))) return -1;
INIT_STRING(__slotnames__);
INIT_STRING(__getnewargs__);
INIT_STRING(__getstate__);
#undef INIT_STRING

PyObject* copy_reg;

#ifdef PY3K
copy_reg = PyImport_ImportModule("copyreg");
#else
Expand Down

0 comments on commit f7fc76a

Please sign in to comment.