From b82c4cee0ec722f78eb183165e0ee04d90189f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 28 May 2008 11:31:44 +0000 Subject: [PATCH] tests/examples/seek/seek.c: Initialise error to NULL as we should. Original commit message from CVS: * tests/examples/seek/seek.c: (make_parselaunch_pipeline): Initialise error to NULL as we should. --- ChangeLog | 5 +++++ tests/examples/seek/seek.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 342585bbe5..782a6bfedb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-28 Tim-Philipp Müller + + * tests/examples/seek/seek.c: (make_parselaunch_pipeline): + Initialise error to NULL as we should. + 2008-05-28 Sebastian Dröge * gst/adder/gstadder.c: (gst_adder_query_duration), diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 56f11ba2ff..61825825c0 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -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);