pulseaudiosink: Remove redundant code
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 14 Nov 2011 07:13:27 +0000 (12:43 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 25 Nov 2011 17:00:41 +0000 (22:30 +0530)
ext/pulse/pulseaudiosink.c

index 1aa806dfa6cd0008d042d5b2072f6f024597d39c..0b2e4b84927435f6d6caaba7dcbacf220ffd23df 100644 (file)
@@ -546,7 +546,7 @@ dbin2_event_probe (GstPad * pad, GstMiniObject * obj, gpointer data)
 static void
 pad_added_cb (GstElement * dbin2, GstPad * pad, gpointer * data)
 {
-  GstPulseAudioSink *pbin = GST_PULSE_AUDIO_SINK (data);
+  GstPulseAudioSink *pbin;
   GstPad *sinkpad = NULL;
 
   pbin = GST_PULSE_AUDIO_SINK (data);