xC: silence some compiler warnings
This commit is contained in:
parent
b4ee523628
commit
3b6c29d676
20
xC.c
20
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user