From 14b2330fd67f263a4413df785a1d23fa6004d9ba Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 6 Jun 2021 15:23:39 -0700 Subject: [PATCH] curses color cleanup The color handling changes for curses left a set of variables unused, so get rid of them. --- win/curses/cursinit.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/win/curses/cursinit.c b/win/curses/cursinit.c index 43324b724..1840836c4 100644 --- a/win/curses/cursinit.c +++ b/win/curses/cursinit.c @@ -18,24 +18,13 @@ static void set_window_position(int *, int *, int *, int *, int, int *, int *, int *, int *, int, int, int); -/* array to save initial terminal colors for later restoration */ - +#if 0 /* no longer used */ typedef struct nhrgb_type { short r; short g; short b; } nhrgb; - -nhrgb orig_yellow; -nhrgb orig_white; -nhrgb orig_darkgray; -nhrgb orig_hired; -nhrgb orig_higreen; -nhrgb orig_hiyellow; -nhrgb orig_hiblue; -nhrgb orig_himagenta; -nhrgb orig_hicyan; -nhrgb orig_hiwhite; +#endif /* Banners used for an optional ASCII splash screen */ -- 2.50.1