Silence incorrect compiler warning on older gcc

This commit is contained in:
Kovid Goyal 2021-06-12 13:15:05 +05:30
parent 1da2344aa3
commit 291be6f5a6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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) {