From 291be6f5a668983c34308d5ecd9b2c8b89ca5ec5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 Jun 2021 13:15:05 +0530 Subject: [PATCH] Silence incorrect compiler warning on older gcc --- kitty/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/screen.c b/kitty/screen.c index 5d5a81540..b76b412c5 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -2172,7 +2172,7 @@ screen_detect_url(Screen *screen, unsigned int x, unsigned int y) { screen_mark_hyperlink(screen, x, y); return true; } - char_type sentinel; + char_type sentinel = 0; if (line) { url_start = line_url_start_at(line, x); if (url_start < line->xnum) {