kopia lustrzana https://github.com/micropython/micropython
unix/moduselect: Initialise variable so can compile in non-debug mode.
rodzic
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 {
|
||||
|
|
Ładowanie…
Reference in New Issue