Commit 54df549b authored by Damien George's avatar Damien George
Browse files

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

parent b5b1f2c5
...@@ -54,7 +54,7 @@ STATIC mp_obj_t poll_register(uint n_args, const mp_obj_t *args) { ...@@ -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 {
......
Supports Markdown
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