]> git.lizzy.rs Git - minetest.git/commit
Remove unused functions reported by cppcheck (#10463)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Mon, 5 Oct 2020 07:07:33 +0000 (09:07 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2020 07:07:33 +0000 (09:07 +0200)
commitf46509d5e2c681b6da2abdeb27779be3c36a6916
treedf654ae11cb73825e071e8222f37a73a1a604707
parent81c66d6efb9fb0ab8a03b40e2bc22aa49eff9a04
Remove unused functions reported by cppcheck (#10463)

Run unused functions reported by cppcheck

This change removes a few (but not all) unused functions.
Some unused helper functions were not removed due to their complexity and potential of future use.
29 files changed:
src/chat.cpp
src/chat.h
src/client/client.cpp
src/client/client.h
src/client/clientenvironment.cpp
src/client/clientmap.cpp
src/client/mapblock_mesh.cpp
src/client/mapblock_mesh.h
src/content/CMakeLists.txt
src/content/packages.cpp [deleted file]
src/content/packages.h [deleted file]
src/gui/guiChatConsole.cpp
src/gui/guiChatConsole.h
src/log.cpp
src/log.h
src/map.cpp
src/map.h
src/mapgen/mapgen.cpp
src/mapgen/mapgen.h
src/mapgen/mapgen_v6.cpp
src/mapgen/mapgen_v6.h
src/mapgen/treegen.cpp
src/mapgen/treegen.h
src/network/networkpacket.cpp
src/network/networkpacket.h
src/script/common/c_converter.cpp
src/script/common/c_converter.h
src/script/lua_api/l_mainmenu.cpp
src/unittest/test_map_settings_manager.cpp