aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/colorize.c b/colorize.c
index 2a8d843..b1d9ecc 100644
--- a/colorize.c
+++ b/colorize.c
@@ -969,8 +969,9 @@ cleanup (void)
fclose (var->ptr);
break;
case IS_UNUSED:
- default:
break;
+ default: /* never reached */
+ ABORT_TRACE ();
}
}
free_null (vars_list);
@@ -1936,8 +1937,8 @@ release (struct var_list *list, unsigned int stacked, void **ptr)
case IS_FILE:
fclose (*ptr);
break;
- default:
- break;
+ default: /* never reached */
+ ABORT_TRACE ();
}
*ptr = NULL;
var->ptr = NULL;