8f4c491a4b
Removed comments after endifs. Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From f81bbaa60ad6c5c99dba499044255fdde5d5ed4a Mon Sep 17 00:00:00 2001
|
|
From: Martin Kutlak <mkutlak@redhat.com>
|
|
Date: Fri, 31 Jan 2020 10:12:37 +0100
|
|
Subject: [PATCH] dbus: Fix possibly uninitialized variable
|
|
|
|
abrt_problems2_task.c:419:21: error:
|
|
'response' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|
|
|
|
Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
|
|
---
|
|
src/dbus/abrt_problems2_task.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/dbus/abrt_problems2_task.c b/src/dbus/abrt_problems2_task.c
|
|
index e6ae171c7..af47660aa 100644
|
|
--- a/src/dbus/abrt_problems2_task.c
|
|
+++ b/src/dbus/abrt_problems2_task.c
|
|
@@ -403,7 +403,7 @@ static void abrt_p2_task_autonomous_cb(AbrtP2Task *task,
|
|
|
|
case ABRT_P2_TASK_STATUS_FAILED:
|
|
{
|
|
- GVariant *response;
|
|
+ GVariant *response = NULL;
|
|
gint32 code;
|
|
GError *error = NULL;
|
|
abrt_p2_task_finish(task, &response, &code, &error);
|
|
--
|
|
2.24.1
|
|
|