From 05100c4734a61f79aa068ea50bf93a84480573b6 Mon Sep 17 00:00:00 2001 From: Dagobert Michelsen Date: Wed, 4 Mar 2020 10:20:04 +0100 Subject: [PATCH] Fix coding style --- src/utils/ignorelist/ignorelist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/ignorelist/ignorelist.c b/src/utils/ignorelist/ignorelist.c index f0298e8dc..173120f52 100644 --- a/src/utils/ignorelist/ignorelist.c +++ b/src/utils/ignorelist/ignorelist.c @@ -285,10 +285,10 @@ int ignorelist_add(ignorelist_t *il, const char *entry) { int ignorelist_remove(ignorelist_t *il, const char *entry) { /* if no entries, nothing to remove */ if ((il == NULL) || (il->head == NULL)) - return (1); + return 1; if ((entry == NULL) || (strlen(entry) == 0)) - return (1); + return 1; /* traverse list and check entries */ for (ignorelist_item_t *prev = NULL, *traverse = il->head; traverse != NULL; @@ -302,11 +302,11 @@ int ignorelist_remove(ignorelist_t *il, const char *entry) { sfree(traverse->smatch); traverse->smatch = NULL; sfree(traverse); - return (0); + return 0; } } /* for traverse */ - return (1); + return 1; } /* int ignorelist_remove (ignorelist_t *il, const char *entry) */ /* -- 2.47.2