Do not return status for event handling

It is never read. Simplify.
This commit is contained in:
Romain Vimont
2022-01-21 19:16:32 +01:00
parent 8e4e7d42f1
commit ebef027c4f
5 changed files with 21 additions and 24 deletions

View File

@@ -195,8 +195,7 @@ handle_event(struct scrcpy *s, const struct scrcpy_options *options,
}
}
bool consumed = sc_screen_handle_event(&s->screen, event);
(void) consumed;
sc_screen_handle_event(&s->screen, event);
end:
return EVENT_RESULT_CONTINUE;