key: remove dead code

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-02-26 17:57:27 +01:00
parent 9db9abd02a
commit 7cd50a3d81
1 changed files with 0 additions and 5 deletions

5
key.c
View File

@ -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);