Fix compilation on Windows.
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index e4bb7a1..98a2b87 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -1519,11 +1519,12 @@
PyObject *obj;
PyObject *slice[BATCHSIZE];
int i, n;
- self->nesting++;
static char append = APPEND;
static char appends = APPENDS;
+ self->nesting++;
+
assert(iter != NULL);
if (self->proto == 0) {
@@ -1659,11 +1660,12 @@
PyObject *p;
PyObject *slice[BATCHSIZE];
int i, n;
- self->nesting++;
static char setitem = SETITEM;
static char setitems = SETITEMS;
+ self->nesting++;
+
assert(iter != NULL);
if (self->proto == 0) {