Skip to content

Commit

Permalink
l_mainmenu.h: remove unused l_get_dirlist function
Browse files Browse the repository at this point in the history
The commit
8f9af57 "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.
  • Loading branch information
est31 committed Aug 29, 2015
1 parent 18973f9 commit 9c44aac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/script/lua_api/l_mainmenu.h
Expand Up @@ -119,8 +119,6 @@ class ModApiMainMenu : public ModApiBase {

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);
Expand Down

0 comments on commit 9c44aac

Please sign in to comment.