Skip to content

Commit

Permalink
Stupid missing variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe authored and gajop committed May 9, 2020
1 parent 934a28c commit 078248f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Lua/LuaVFS.cpp
Expand Up @@ -390,7 +390,7 @@ int LuaVFS::UseArchive(lua_State* L)
// could be mod,map,etc
vfsHandler->AddArchive(archiveName, false);

callError = lua_pcall(L, lua_gettop(L) - funcIndex, LUA_MULTRET, 0);
const int callError = lua_pcall(L, lua_gettop(L) - funcIndex, LUA_MULTRET, 0);

vfsHandler->RemoveArchive(archiveName);
vfsHandler->ReMapArchives(false);
Expand Down

0 comments on commit 078248f

Please sign in to comment.