mc/lib/tty
Andrew Borodin f4b1c0a4d0 (parse_256_or_true_color_name): pacify gcc-10.2.
Fix warnings:

lib/tty/color-internal.c: In function 'tty_color_get_index_by_name':
lib/tty/color-internal.c:156:19: warning: '[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  156 |             i = (h[0] << 20) | (h[1] << 16) | (h[2] << 12) | (h[3] << 8) | (h[4] << 4) | h[5];
      |                  ~^~~
lib/tty/color-internal.c:156:34: warning: 'h[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  156 |             i = (h[0] << 20) | (h[1] << 16) | (h[2] << 12) | (h[3] << 8) | (h[4] << 4) | h[5];
      |                                 ~^~~
lib/tty/color-internal.c:156:49: warning: 'h[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  156 |             i = (h[0] << 20) | (h[1] << 16) | (h[2] << 12) | (h[3] << 8) | (h[4] << 4) | h[5];
      |                                                ~^~~

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-03-14 19:30:42 +03:00
..
Makefile.am Ticket #117: refactoring of SIGWINCH hangling. 2019-09-01 19:22:21 +03:00
color-internal.c (parse_256_or_true_color_name): pacify gcc-10.2. 2021-03-14 19:30:42 +03:00
color-internal.h Ticket #2169: Add support for 256 colors terminals 2010-12-29 11:58:10 +02:00
color-ncurses.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
color-slang.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
color-slang.h Ticket #3065: support of italic text. 2015-02-17 15:22:53 +03:00
color.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
color.h Ticket #3145: support for True Color (16 millions colors). 2016-11-13 15:56:59 +03:00
key.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
key.h Change type from int to gboolean for variables controlled by checkboxes. 2017-01-22 18:44:22 +03:00
keyxdef.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
mouse.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
mouse.h Drop old mouse API and use the new one. 2016-04-01 15:29:55 +03:00
tty-internal.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
tty-internal.h Ticket #4120: draw shadows for dialog boxes and menus. 2020-08-02 16:13:26 +03:00
tty-ncurses.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
tty-ncurses.h Ticket #4181: FTBFS against NCurses on OS X 10.9.5. 2021-01-24 14:19:22 +03:00
tty-slang.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
tty-slang.h Move definition of reset_hp_softkeys variable to lib/tty/tty-slang.[ch]. 2016-05-07 16:28:47 +03:00
tty.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
tty.h (tty_clear_screen): rename from clr_scr and move to lib/tty. 2020-12-31 16:26:46 +03:00
win.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
win.h Do not duplicate alternate screen switching. 2016-05-05 10:01:13 +03:00
x11conn.c Ticket #4179: code clean up before 4.8.27 release. 2021-03-14 19:30:42 +03:00
x11conn.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00