[vlc-commits] Fix warnings

Rémi Denis-Courmont git at videolan.org
Tue Aug 9 17:34:11 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  9 18:13:26 2011 +0300| [4f0ec8f4a5529ab15e2a91716feb09ab11d4bc8d] | committer: Rémi Denis-Courmont

Fix warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f0ec8f4a5529ab15e2a91716feb09ab11d4bc8d
---

 src/audio_output/input.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index c182376..b3be37c 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -756,7 +756,8 @@ static int VisualizationCallback (vlc_object_t *obj, char const *var,
                                   void *data)
 {
     const char *mode = newval.psz_string;
-    aout_input_t *input = data;
+    //aout_input_t *input = data;
+    (void) data;
 
     if (!*mode)
     {
@@ -798,9 +799,10 @@ static int EqualizerCallback (vlc_object_t *obj, char const *cmd,
                               void *data)
 {
     char *mode = newval.psz_string;
-    aout_input_t *input = data;
+    //aout_input_t *input = data;
     bool ret;
 
+    (void) data;
     (void) cmd; (void) oldval;
     if (!*mode)
         ret = ChangeFiltersString (obj, "audio-filter", "equalizer", false);



More information about the vlc-commits mailing list