1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-21 03:12:41 +01:00

Codefix: initialise a few uninitialised variables

This commit is contained in:
Rubidium
2025-03-08 17:08:12 +01:00
committed by rubidium42
parent 8a243f7391
commit 0b102db421
3 changed files with 6 additions and 6 deletions

View File

@@ -251,7 +251,7 @@ void TextfileWindow::FindHyperlinksInMarkdown(Line &line, size_t line_index)
while (matcher != std::sregex_iterator()) {
std::smatch match = *matcher;
Hyperlink link;
Hyperlink link{};
link.line = line_index;
link.destination = match[2].str();
this->links.push_back(link);