Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment