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

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