]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
Extend fixed space of attr[]
[colorize.git] / colorize.c
index e242c3f89a0df70b976f972e86115890f477cfdb..3e9755af4fd5667bccf26caa8622660906ecd749 100644 (file)
 
 #define DEBUG_FILE "debug.txt"
 
-#define MAX_ATTRIBUTE_CHARS (5 * 2)
+#define MAX_ATTRIBUTE_CHARS (6 * 2)
 
 #define VERSION "0.62"
 
@@ -474,6 +474,7 @@ process_opt_attr (const char *p)
                 strncpy (attr_invalid, s, p - s);
                 attr_invalid[p - s] = '\0';
                 vfprintf_fail ("--attr switch attribute '%s' is not valid", attr_invalid);
+                RELEASE_VAR (attr_invalid); /* never reached */
               }
           }
         if (*p)