Blame SOURCES/0005-coverity-fix-def6.patch

91b162
From 79650f521dc70535bf731ae3139860aef3e301b0 Mon Sep 17 00:00:00 2001
91b162
From: Matej Habrnal <mhabrnal@redhat.com>
91b162
Date: Wed, 18 Jul 2018 17:07:45 +0200
91b162
Subject: [PATCH] coverity fix [#def6]
91b162
91b162
libreport-2.9.5/src/gui-wizard-gtk/wizard.c:819:5: warning: 1st function call
91b162
argument is an uninitialized value
91b162
91b162
https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libreport-2.9.5-2.el8+7/scan-results.html#def6
91b162
91b162
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
91b162
---
91b162
 src/gui-wizard-gtk/wizard.c | 2 +-
91b162
 1 file changed, 1 insertion(+), 1 deletion(-)
91b162
91b162
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
91b162
index ea49a2ea..cb9ac5bb 100644
91b162
--- a/src/gui-wizard-gtk/wizard.c
91b162
+++ b/src/gui-wizard-gtk/wizard.c
91b162
@@ -760,7 +760,7 @@ static void tv_details_row_activated(
91b162
                         GtkTreeViewColumn *column,
91b162
                         gpointer           user_data)
91b162
 {
91b162
-    gchar *item_name;
91b162
+    gchar *item_name = NULL;
91b162
     struct problem_item *item = get_current_problem_item_or_NULL(tree_view, &item_name);
91b162
     if (!item || !(item->flags & CD_FLAG_TXT))
91b162
         goto ret;
91b162
-- 
91b162
2.17.1
91b162