Blame SOURCES/0011-Initialize-ws_start-variable-before-returning-it.patch

ad2f2b
From c5abcf98fdbb437574f916b6b2c1fa2f3a89219f Mon Sep 17 00:00:00 2001
ad2f2b
From: Tomas Popela <tpopela@redhat.com>
ad2f2b
Date: Mon, 23 Jul 2018 11:45:36 +0200
ad2f2b
Subject: [PATCH 11/17] Initialize ws_start variable before returning it
ad2f2b
ad2f2b
yelp-3.28.1/libyelp/yelp-man-parser.c:1194: var_decl: Declaring variable "ws_start" without initializer.
ad2f2b
yelp-3.28.1/libyelp/yelp-man-parser.c:1202: uninit_use: Using uninitialized value "ws_start".
ad2f2b
---
ad2f2b
 libyelp/yelp-man-parser.c | 2 +-
ad2f2b
 1 file changed, 1 insertion(+), 1 deletion(-)
ad2f2b
ad2f2b
diff --git a/libyelp/yelp-man-parser.c b/libyelp/yelp-man-parser.c
ad2f2b
index f8eb69f6..302ccb31 100644
ad2f2b
--- a/libyelp/yelp-man-parser.c
ad2f2b
+++ b/libyelp/yelp-man-parser.c
ad2f2b
@@ -1193,7 +1193,7 @@ static gchar *
ad2f2b
 find_contiguous_whitespace (gchar *text, guint ws_len)
ad2f2b
 {
ad2f2b
     guint counter = 0;
ad2f2b
-    gchar *ws_start;
ad2f2b
+    gchar *ws_start = NULL;
ad2f2b
     while (*text) {
ad2f2b
         if (g_unichar_isspace (g_utf8_get_char (text))) {
ad2f2b
             if (!counter) ws_start = text;
ad2f2b
-- 
ad2f2b
2.19.1
ad2f2b