diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:42:04 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:42:04 +0200 |
commit | 4a26b4c024498c9b1be4723121d86e0c2b386ed2 (patch) | |
tree | 77e56568f6aa7e5dbfbae2bce0634c0452f3795c /input | |
parent | 835d3deea2023bd53a079513f6b742b575ae1896 (diff) |
cosmetics: remove unused code, small formatting tweaks
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/input/input.c b/input/input.c index 2119c729ba..ab534968e3 100644 --- a/input/input.c +++ b/input/input.c @@ -1484,13 +1484,6 @@ static void bind_keys(struct input_ctx *ictx, memcpy(bind->input,keys,(MP_MAX_KEY_DOWN+1)*sizeof(int)); } -static void add_binds(struct input_ctx *ictx, const mp_cmd_bind_t* list) -{ - int i; - for(i = 0 ; list[i].cmd ; i++) - bind_keys(ictx, list[i].input,list[i].cmd); -} - static int parse_config(struct input_ctx *ictx, char *file) { int fd; |