cleanup: Initialize waittime to 0

This fixes a -fanalyzer uninitialized value warning.
This commit is contained in:
Michael Vetter
2026-02-26 19:21:45 +01:00
parent caf84ca731
commit 48205fc6de

View File

@@ -113,7 +113,7 @@ prof_run(gchar* log_level, gchar* account_name, gchar* config_file, gchar* log_f
char* line = NULL;
GTimer* waittimer = g_timer_new();
g_timer_stop(waittimer);
int waittime;
int waittime = 0;
while (cont && !force_quit) {
log_stderr_handler();
session_check_autoaway();