Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/dallison/co
Browse files Browse the repository at this point in the history
  • Loading branch information
dallison committed Jan 9, 2024
2 parents ddfac24 + 1de267a commit fb5b9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coroutine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ CoroutineScheduler::ChosenCoroutine CoroutineScheduler::ChooseRunnable(
// a data structure and processing it afterwards.
Coroutine *chosen = nullptr;
int chosen_fd;
uint64_t max_wait;
uint64_t max_wait = 0UL;
for (size_t i = 1; i < poll_state->pollfds.size(); i++) {
struct pollfd *fd = &poll_state->pollfds[i];
Coroutine *co = poll_state->coroutines[i - 1];
Expand Down

0 comments on commit fb5b9d4

Please sign in to comment.