tests/examples/seek/seek.c: Initialise error to NULL as we should.
authorTim-Philipp Müller <tim@centricular.net>
Wed, 28 May 2008 11:31:44 +0000 (11:31 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 28 May 2008 11:31:44 +0000 (11:31 +0000)
Original commit message from CVS:
* tests/examples/seek/seek.c: (make_parselaunch_pipeline):
Initialise error to NULL as we should.

ChangeLog
tests/examples/seek/seek.c

index 342585b..782a6bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-28  Tim-Philipp Müller  <tim.muller at collabora co uk>
+
+       * tests/examples/seek/seek.c: (make_parselaunch_pipeline):
+         Initialise error to NULL as we should.
+
 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * gst/adder/gstadder.c: (gst_adder_query_duration),
index 56f11ba..6182582 100644 (file)
@@ -904,7 +904,7 @@ static GstElement *
 make_parselaunch_pipeline (const gchar * description)
 {
   GstElement *pipeline;
-  GError *error;
+  GError *error = NULL;
 
   pipeline = gst_parse_launch (description, &error);