Skip to content
Permalink
Browse files

Fix clang-tidy and lint travis checks

  • Loading branch information
sfan5 committed Nov 9, 2019
1 parent c44318a commit 02111e49610dfadae47c79eb1cb07bf935f2d944
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/client/client.cpp
  2. +1 −0 util/travis/clang-format-whitelist.txt
@@ -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

0 comments on commit 02111e4

Please sign in to comment.
You can’t perform that action at this time.