diff options
author | Steven Schubiger <stsc@refcnt.org> | 2020-03-28 16:32:28 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2020-03-28 16:32:28 +0100 |
commit | c4524ce6e98aca85c74e53c51494f3e38787480a (patch) | |
tree | 4dac5ee72a7ce1a0de2e338742f152e9c60033ff | |
parent | 52df2aae8173006fa182bae85890e56afb7d9054 (diff) | |
download | colorize-c4524ce6e98aca85c74e53c51494f3e38787480a.tar.gz colorize-c4524ce6e98aca85c74e53c51494f3e38787480a.tar.bz2 |
process_opt_exclude_random(): don't check for non-NULLness
because release_var() already does so.
-rw-r--r-- | colorize.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |