Blame SOURCES/0261-lib-event_config-Remove-pointless-assignment.patch

b12e4c
From 8682704e9aaf560390f275523f727fc556c4e8b5 Mon Sep 17 00:00:00 2001
b12e4c
From: Ernestas Kulik <ekulik@redhat.com>
b12e4c
Date: Wed, 29 May 2019 10:15:46 +0200
b12e4c
Subject: [PATCH] lib: event_config: Remove pointless assignment
b12e4c
MIME-Version: 1.0
b12e4c
Content-Type: text/plain; charset=UTF-8
b12e4c
Content-Transfer-Encoding: 8bit
b12e4c
b12e4c
This doesn’t even make sense.
b12e4c
b12e4c
Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
b12e4c
---
b12e4c
 src/lib/event_config.c | 3 ---
b12e4c
 1 file changed, 3 deletions(-)
b12e4c
b12e4c
diff --git a/src/lib/event_config.c b/src/lib/event_config.c
b12e4c
index 4155938..e9423d9 100644
b12e4c
--- a/src/lib/event_config.c
b12e4c
+++ b/src/lib/event_config.c
b12e4c
@@ -485,9 +485,6 @@ bool check_problem_rating_usability(const event_config_t *cfg,
b12e4c
     if (!rating_str)
b12e4c
         goto finish;
b12e4c
 
b12e4c
-    /* just to be sure */
b12e4c
-    result = false;
b12e4c
-
b12e4c
     const long minimal_rating = cfg->ec_minimal_rating;
b12e4c
     char *endptr;
b12e4c
     errno = 0;
b12e4c
-- 
b12e4c
2.21.0
b12e4c