]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
process_opt_exclude_random(): don't check for non-NULLness
[colorize.git] / colorize.c
index 622f609a73b6f6ae32f9ff9d3a8fe244d1cf4605..c4319331d27e2dbb4ffa3f06f2e52206f1b0945d 100644 (file)
@@ -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 */