From 25c97570834d6de1c14424e71221d19eb0d33ee3 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 13 Jan 2015 15:42:26 +0000 Subject: [PATCH] audiovisualizer: remove unused value klass->setup (scope) will always return TRUE since all children of this class do so, no need to store the return. Besides, the value is overwritten a few lines down before it is used. Change helps keep files in sync after: -base commit a91d521a3602f33083405467db9454d422b9da1b --- gst/audiovisualizers/gstaudiovisualizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audiovisualizers/gstaudiovisualizer.c b/gst/audiovisualizers/gstaudiovisualizer.c index 954db141a2..eb3c05b635 100644 --- a/gst/audiovisualizers/gstaudiovisualizer.c +++ b/gst/audiovisualizers/gstaudiovisualizer.c @@ -759,7 +759,7 @@ gst_audio_visualizer_src_setcaps (GstAudioVisualizer * scope, GstCaps * caps) GST_MAP_READWRITE); if (klass->setup) - res = klass->setup (scope); + klass->setup (scope); GST_DEBUG_OBJECT (scope, "video: dimension %dx%d, framerate %d/%d", GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info),