sys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling again...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2007 15:03:06 +0000 (15:03 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2007 15:03:06 +0000 (15:03 +0000)
Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
Fix 'unused variable' compiler warning when compiling against
older kernel headers.

ChangeLog
sys/v4l2/v4l2src_calls.c

index 3d15840..9366be2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * sys/v4l2/v4l2src_calls.c:
+         Fix 'unused variable' compiler warning when compiling against
+         older kernel headers.
+
 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
 
        * ext/taglib/gstid3v2mux.cc (add_funcs):
index ec05796..edd4a01 100644 (file)
@@ -739,11 +739,11 @@ gst_v4l2src_probe_caps_for_format (GstV4l2Src * v4l2src, guint32 pixelformat,
 {
   GstCaps *ret;
   GstStructure *tmp;
-  GList *results = NULL;
 
 #ifdef VIDIOC_ENUM_FRAMESIZES
   gint fd = v4l2src->v4l2object->video_fd;
   struct v4l2_frmsizeenum size;
+  GList *results = NULL;
   guint32 w, h;
 
   ret = gst_caps_new_empty ();