Commit b436a24e authored by Thomas Heller's avatar Thomas Heller

Fix compilation on Windows.

parent 4c52f52e
......@@ -1519,11 +1519,12 @@ batch_list(Picklerobject *self, PyObject *iter)
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 @@ batch_dict(Picklerobject *self, PyObject *iter)
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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment