[vlc-commits] v4l2: fix warning on old systems

Rémi Denis-Courmont git at videolan.org
Sat Apr 7 14:17:47 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr  7 15:16:08 2012 +0300| [3359912de6a66ab4f32a53e36edc49c551653f96] | committer: Rémi Denis-Courmont

v4l2: fix warning on old systems

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

 modules/access/v4l2/video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/v4l2/video.c b/modules/access/v4l2/video.c
index b2e4648..f3f38f3 100644
--- a/modules/access/v4l2/video.c
+++ b/modules/access/v4l2/video.c
@@ -523,9 +523,9 @@ static int SetupStandard (vlc_object_t *obj, int fd,
         return 0;
     }
 #else
+    (void) input;
     msg_Dbg (obj, "video standard selection unknown");
 #endif
-
     v4l2_std_id std = var_InheritStandard (obj, CFG_PREFIX"standard");
     if (std == V4L2_STD_UNKNOWN)
     {



More information about the vlc-commits mailing list