From 3b6c29d676c569a7081dc9322b49ce80ba6fe2f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Sun, 11 Sep 2022 22:16:18 +0200 Subject: [PATCH] xC: silence some compiler warnings --- xC.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/xC.c b/xC.c index 0da1fea..61be087 100644 --- a/xC.c +++ b/xC.c @@ -3652,19 +3652,19 @@ init_colors (struct app_context *ctx) ctx->theme_defaults[ATTR_ ## id] = (struct attrs) { __VA_ARGS__ } INIT_ATTR (PROMPT, -1, -1, TEXT_BOLD); - INIT_ATTR (RESET, -1, -1); + INIT_ATTR (RESET, -1, -1, 0); INIT_ATTR (DATE_CHANGE, -1, -1, TEXT_BOLD); - INIT_ATTR (READ_MARKER, COLOR_MAGENTA, -1); - INIT_ATTR (WARNING, COLOR_YELLOW, -1); - INIT_ATTR (ERROR, COLOR_RED, -1); + INIT_ATTR (READ_MARKER, COLOR_MAGENTA, -1, 0); + INIT_ATTR (WARNING, COLOR_YELLOW, -1, 0); + INIT_ATTR (ERROR, COLOR_RED, -1, 0); - INIT_ATTR (EXTERNAL, COLOR_WHITE, -1); - INIT_ATTR (TIMESTAMP, COLOR_WHITE, -1); + INIT_ATTR (EXTERNAL, COLOR_WHITE, -1, 0); + INIT_ATTR (TIMESTAMP, COLOR_WHITE, -1, 0); INIT_ATTR (HIGHLIGHT, COLOR_BRIGHT (YELLOW), COLOR_MAGENTA, TEXT_BOLD); - INIT_ATTR (ACTION, COLOR_RED, -1); - INIT_ATTR (USERHOST, COLOR_CYAN, -1); - INIT_ATTR (JOIN, COLOR_GREEN, -1); - INIT_ATTR (PART, COLOR_RED, -1); + INIT_ATTR (ACTION, COLOR_RED, -1, 0); + INIT_ATTR (USERHOST, COLOR_CYAN, -1, 0); + INIT_ATTR (JOIN, COLOR_GREEN, -1, 0); + INIT_ATTR (PART, COLOR_RED, -1, 0); #undef INIT_ATTR