From c4524ce6e98aca85c74e53c51494f3e38787480a Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sat, 28 Mar 2020 16:32:28 +0100 Subject: process_opt_exclude_random(): don't check for non-NULLness because release_var() already does so. --- colorize.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colorize.c b/colorize.c index 622f609..c431933 100644 --- a/colorize.c +++ b/colorize.c @@ -628,8 +628,7 @@ process_opt_exclude_random (const char *s, const bool is_opt) { bool valid = false; unsigned int i; - if (exclude) - RELEASE_VAR (exclude); + RELEASE_VAR (exclude); exclude = xstrdup (s); STACK_VAR (exclude); for (i = 1; i < tables[GENERIC].count - 1; i++) /* skip color none and default */ -- cgit v1.2.3