Commit 5f2f3793 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless struct hotkey.i_action

parent a83cf23f
......@@ -207,7 +207,6 @@ VLC_EXPORT( vlc_key_t, vlc_GetActionId, (const char *psz_key) ) LIBVLC_USED;
struct hotkey
{
const char *psz_action;
vlc_key_t i_action;
};
#endif
......@@ -447,7 +447,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
}
#endif
keys->psz_action = actions[i].name;
keys->i_action = actions[i].value;
keys++;
char name[12 + MAXACTION];
......@@ -458,7 +457,6 @@ struct vlc_actions *vlc_InitActions (libvlc_int_t *libvlc)
}
keys->psz_action = NULL;
keys->i_action = 0;
libvlc->p_hotkeys = as->keys;
var_AddCallback (obj, "key-pressed", vlc_key_to_action, &as->map);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment