mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 19:47:21 +03:00
Silence incorrect compiler warning on older gcc
This commit is contained in:
parent
1da2344aa3
commit
291be6f5a6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user