unix/moduselect: Initialise variable so can compile in non-debug mode.
This commit is contained in:
parent
b5b1f2c527
commit
54df549b5f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user