warning fix
This commit is contained in:
parent
e21b607f2d
commit
f88623ddd6
@ -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…
x
Reference in New Issue
Block a user