Skip to content

Commit 54df549

Browse files
committed
unix/moduselect: Initialise variable so can compile in non-debug mode.
1 parent b5b1f2c commit 54df549

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/moduselect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ STATIC mp_obj_t poll_register(uint n_args, const mp_obj_t *args) {
5454
flags = POLLIN | POLLOUT;
5555
}
5656

57-
int i;
57+
int i = 0;
5858
if (self->len < self->alloc) {
5959
i = self->len++;
6060
} else {

0 commit comments

Comments
 (0)