mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 16:26:53 +00:00
MOHAWK: Fix warning about uninitialized var
This commit is contained in:
parent
7fcaac9408
commit
b86da6028f
@ -3781,7 +3781,7 @@ void LBProxyItem::init() {
|
||||
Common::String filename = _vm->getFileNameFromConfig("Proxies", _desc.c_str(), leftover);
|
||||
if (!leftover.empty())
|
||||
error("LBProxyItem tried loading proxy '%s' but got leftover '%s'", _desc.c_str(), leftover.c_str());
|
||||
uint16 baseId;
|
||||
uint16 baseId = 0;
|
||||
for (uint i = 0; i < filename.size(); i++) {
|
||||
if (filename[i] == ';') {
|
||||
baseId = atoi(filename.c_str() + i + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user