Blob Blame History Raw
From 8682704e9aaf560390f275523f727fc556c4e8b5 Mon Sep 17 00:00:00 2001
From: Ernestas Kulik <ekulik@redhat.com>
Date: Wed, 29 May 2019 10:15:46 +0200
Subject: [PATCH] lib: event_config: Remove pointless assignment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This doesn’t even make sense.

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
---
 src/lib/event_config.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lib/event_config.c b/src/lib/event_config.c
index 4155938..e9423d9 100644
--- a/src/lib/event_config.c
+++ b/src/lib/event_config.c
@@ -485,9 +485,6 @@ bool check_problem_rating_usability(const event_config_t *cfg,
     if (!rating_str)
         goto finish;
 
-    /* just to be sure */
-    result = false;
-
     const long minimal_rating = cfg->ec_minimal_rating;
     char *endptr;
     errno = 0;
-- 
2.21.0