summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c
index e7f0973..fdaf2eb 100644
--- a/src/color.c
+++ b/src/color.c
@@ -975,7 +975,7 @@ static const struct esc_seq *file_color(const struct colors *colors, const struc
goto error;
}
- const struct bfs_stat *statbuf;
+ const struct bfs_stat *statbuf = NULL;
const struct esc_seq *color = NULL;
switch (type) {