xC: silence some compiler warnings

This commit is contained in:
Přemysl Eric Janouch 2022-09-11 22:16:18 +02:00
parent b4ee523628
commit 3b6c29d676
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 10 additions and 10 deletions

20
xC.c
View File

@ -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