key: remove dead code
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9db9abd02a
commit
7cd50a3d81
5
key.c
5
key.c
|
@ -336,12 +336,7 @@ luaA_key_array_set(lua_State *L, int idx, keybindings_t *keys)
|
||||||
{
|
{
|
||||||
luaA_checktable(L, idx);
|
luaA_checktable(L, idx);
|
||||||
|
|
||||||
for(int i = 0; i < keys->by_code.len; i++);
|
|
||||||
|
|
||||||
for(int i = 0; i < keys->by_sym.len; i++);
|
|
||||||
|
|
||||||
keybindings_wipe(keys);
|
keybindings_wipe(keys);
|
||||||
|
|
||||||
keybindings_init(keys);
|
keybindings_init(keys);
|
||||||
|
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
|
|
Loading…
Reference in New Issue