commit 6cb239b9a0befa2d4ad01df052dd7ad3ecee957e
parent 165d8b925f31ec8d3a4eb9feafa330545bfc6ca9
Author: nibo <nibo@relim.de>
Date: Sat, 22 Mar 2025 12:00:15 +0100
Remove compiler warning
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/util.c b/src/util.c
@@ -79,6 +79,7 @@ log_without_color(
fprintf(stderr, "\n");
}
+#if COLOR == 1
static void
log_with_color(
const char *file,
@@ -118,6 +119,7 @@ log_with_color(
vfprintf(stderr, msg, va);
fprintf(stderr, "\n");
}
+#endif
void
util_vlog(