Skip to content

Display and control your Android device

Fix proc_show_touches warning

Romain Vimonte3d0a59c80b8
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c
index fc97e3b2..4c9f6302 100644
--- a/app/src/scrcpy.c
+++ b/app/src/scrcpy.c
@@ -125,7 +125,7 @@ SDL_bool scrcpy(const struct scrcpy_options *options) {
return SDL_FALSE;
}
- process_t proc_show_touches;
+ process_t proc_show_touches = PROCESS_NONE;
SDL_bool show_touches_waited;
if (options->show_touches) {
LOGI("Enable show_touches");