From: Tim-Philipp Müller Date: Sat, 16 Apr 2011 17:16:11 +0000 (+0100) Subject: v4l2sink: fix another unused-but-set-variable warning X-Git-Tag: RELEASE-0.10.29~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86d8c8162e1188a36099fff0af5c790e1bc8fac9;p=platform%2Fupstream%2Fgst-plugins-good.git v4l2sink: fix another unused-but-set-variable warning --- diff --git a/sys/v4l2/gstv4l2sink.c b/sys/v4l2/gstv4l2sink.c index aa6785cfe..fcf7e8732 100644 --- a/sys/v4l2/gstv4l2sink.c +++ b/sys/v4l2/gstv4l2sink.c @@ -658,7 +658,7 @@ gst_v4l2sink_get_caps (GstBaseSink * bsink) ret = gst_caps_new_empty (); - for (walk = v4l2sink->v4l2object->formats; walk; walk = walk->next) { + for (walk = formats; walk; walk = walk->next) { struct v4l2_fmtdesc *format; GstStructure *template;