From 94c519cead2e9caf334f7f0f465a4f99b046921c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 26 Oct 2007 15:03:06 +0000 Subject: [PATCH] sys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling against older kernel headers. Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling against older kernel headers. --- ChangeLog | 6 ++++++ sys/v4l2/v4l2src_calls.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3d15840..9366be2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-26 Tim-Philipp Müller + + * sys/v4l2/v4l2src_calls.c: + Fix 'unused variable' compiler warning when compiling against + older kernel headers. + 2007-10-25 Tim-Philipp Müller * ext/taglib/gstid3v2mux.cc (add_funcs): diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index ec05796..edd4a01 100644 --- a/sys/v4l2/v4l2src_calls.c +++ b/sys/v4l2/v4l2src_calls.c @@ -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 (); -- 2.7.4