diff options
author | est31 <MTest31@outlook.com> | 2015-08-30 01:17:03 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-08-30 01:17:03 +0200 |
commit | 9c44aace4fce5f4b496201214d3215899f1481c3 (patch) | |
tree | 6ac0b9915ea768c495ef50568f7c9407dccdc036 /src/script | |
parent | 18973f9af196ca48abfca25e05d4b1a396fdd871 (diff) | |
download | minetest-9c44aace4fce5f4b496201214d3215899f1481c3.tar.gz minetest-9c44aace4fce5f4b496201214d3215899f1481c3.tar.bz2 minetest-9c44aace4fce5f4b496201214d3215899f1481c3.zip |
l_mainmenu.h: remove unused l_get_dirlist function
The commit
8f9af57314f71aae1cc77e13f9996e13015d776d "Add core.get_dir_list" by @ShadowNinja
has removed the implementation of the l_get_dirlist function and all its usages
from the l_mainmenu.cpp file, but hasn't removed it from the header file.
The reason why this hasn't been detected earlier is that C++ has this interesting
feature to still make it possible to create instances of classes whose never used
private methods are declared but not defined.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/lua_api/l_mainmenu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h index 9c1fed272..405af25e8 100644 --- a/src/script/lua_api/l_mainmenu.h +++ b/src/script/lua_api/l_mainmenu.h @@ -119,8 +119,6 @@ private: static int l_get_texturepath_share(lua_State *L); - static int l_get_dirlist(lua_State *L); - static int l_create_dir(lua_State *L); static int l_delete_dir(lua_State *L); |