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

pull/1635/merge
Damien George 2015-11-20 12:51:00 +00:00
rodzic b5b1f2c527
commit 54df549b5f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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