unix/moduselect: Initialise variable so can compile in non-debug mode.

This commit is contained in:
Damien George 2015-11-20 12:51:00 +00:00
parent b5b1f2c527
commit 54df549b5f

View File

@ -54,7 +54,7 @@ STATIC mp_obj_t poll_register(uint n_args, const mp_obj_t *args) {
flags = POLLIN | POLLOUT; flags = POLLIN | POLLOUT;
} }
int i; int i = 0;
if (self->len < self->alloc) { if (self->len < self->alloc) {
i = self->len++; i = self->len++;
} else { } else {