From 8d4315ee5c74c5bb6bb6adf9ed5824101d9ccda1 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Thu, 30 Apr 2009 17:08:52 +0100 Subject: fpsdisplaysink: init variable to NULL to avoid compiler warning Fixes #580901. --- gst/debugutils/fpsdisplaysink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/debugutils') diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index 22568fe6..d22dfad3 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -273,7 +273,7 @@ display_current_fps (gpointer data) static void fps_display_sink_start (FPSDisplaySink * self) { - GstPad *target_pad; + GstPad *target_pad = NULL; /* Init counters */ self->priv->next_ts = GST_CLOCK_TIME_NONE; -- cgit v1.2.1