1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 09:22:42 +01:00

Codefix: "maybe uninitialized" warnings for linux generic release build (#12838)

This commit is contained in:
Loïc Guilloux
2024-07-02 11:04:07 +02:00
committed by GitHub
parent b27527ec0c
commit 8ef3a3d463
2 changed files with 2 additions and 2 deletions

View File

@@ -375,7 +375,7 @@ class BuildIndustryWindow : public Window {
std::string cargostring;
size_t numcargo = 0;
size_t firstcargo;
size_t firstcargo = 0;
for (size_t j = 0; j < cargolist.size(); j++) {
if (!IsValidCargoID(cargolist[j])) continue;