[vlc-commits] hotkeys: fix unused warning
Thomas Guillem
git at videolan.org
Tue Jul 25 17:55:57 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul 25 17:53:50 2017 +0200| [f832fa6870a216a07ebd1d80e726b4f449fa205b] | committer: Thomas Guillem
hotkeys: fix unused warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f832fa6870a216a07ebd1d80e726b4f449fa205b
---
modules/control/hotkeys.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 148588eab0..195bb2265f 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -134,11 +134,14 @@ static int MovedEvent( vlc_object_t *p_this, char const *psz_var,
}
static int ViewpointMovedEvent( vlc_object_t *p_this, char const *psz_var,
- vlc_value_t oldval, vlc_value_t newval, void *p_data )
+ vlc_value_t oldval, vlc_value_t newval,
+ void *p_data )
{
intf_thread_t *p_intf = (intf_thread_t *)p_data;
intf_sys_t *p_sys = p_intf->p_sys;
+ (void) p_this; (void) psz_var; (void) oldval;
+
input_UpdateViewpoint( p_sys->p_input, newval.p_address, false );
return VLC_SUCCESS;
More information about the vlc-commits
mailing list