mirror of
https://github.com/minetest/minetest.git
synced 2024-08-18 20:44:16 +02:00
Fix clang-tidy and lint travis checks
This commit is contained in:
parent
c44318a253
commit
02111e4961
@ -1913,7 +1913,7 @@ const std::string* Client::getModFile(std::string filename)
|
||||
if (pos == std::string::npos)
|
||||
return nullptr;
|
||||
pos++;
|
||||
auto pos2 = filename.find_first_not_of("/", pos);
|
||||
auto pos2 = filename.find_first_not_of('/', pos);
|
||||
if (pos2 > pos)
|
||||
filename.erase(pos, pos2 - pos);
|
||||
|
||||
|
@ -349,6 +349,7 @@ src/script/cpp_api/s_server.h
|
||||
src/script/lua_api/l_areastore.cpp
|
||||
src/script/lua_api/l_base.cpp
|
||||
src/script/lua_api/l_base.h
|
||||
src/script/lua_api/l_client.cpp
|
||||
src/script/lua_api/l_craft.cpp
|
||||
src/script/lua_api/l_craft.h
|
||||
src/script/lua_api/l_env.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user