mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
warning fix
This commit is contained in:
parent
e21b607f2d
commit
f88623ddd6
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ fs::path resolve_path(lua_State* L, const std::string& path) {
|
||||||
return scripting::engine->getPaths()->resolve(path);
|
return scripting::engine->getPaths()->resolve(path);
|
||||||
} catch (const files_access_error& err) {
|
} catch (const files_access_error& err) {
|
||||||
luaL_error(L, err.what());
|
luaL_error(L, err.what());
|
||||||
|
abort(); // unreachable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue