From 7cd50a3d813eb2282ef4c4ccd0c9133ffb4d80ea Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 26 Feb 2009 17:57:27 +0100 Subject: [PATCH] key: remove dead code Signed-off-by: Julien Danjou --- key.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/key.c b/key.c index 58680564..bd05bd44 100644 --- a/key.c +++ b/key.c @@ -336,12 +336,7 @@ luaA_key_array_set(lua_State *L, int idx, keybindings_t *keys) { 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_init(keys); lua_pushnil(L);