From 1b955c08dfab878e9451f477d13744a10faf04a0 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Fri, 3 Apr 2015 19:12:48 -0400 Subject: [PATCH] uri: Silence a compiler warning This is a false positive for use initialized. The variable is set and used enclosed in the safe if condition. --- gst/gsturi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gsturi.c b/gst/gsturi.c index 6346ea0f5f..9a04dcb8b4 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -1297,7 +1297,7 @@ _gst_uri_string_to_list (const gchar * str, const gchar * sep, gboolean convert, if (str) { guint pct_sep_len = 0; - gchar *pct_sep; + gchar *pct_sep = NULL; gchar **split_str; if (convert && !unescape) {