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

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