From b0feed94406571e18586f8fbfd51eeac49870876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 3 Jun 2023 04:05:12 -0400 Subject: [PATCH] Fix use of uninitialized value --- src/conio/x_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/x_events.c b/src/conio/x_events.c index 28bc6de127..9061eed5e4 100644 --- a/src/conio/x_events.c +++ b/src/conio/x_events.c @@ -428,7 +428,7 @@ set_icon(const void *data, size_t width, XWMHints *hints) unsigned short tmp; XColor fg; bool sethints = (hints == NULL); - unsigned long lasti, lastim; + unsigned long lasti = ULONG_MAX, lastim = ULONG_MAX; // This is literally the wost possible way to create a pixmap. :) /* -- GitLab