system/termcurses/tcurses_vt100.c: Eliminate a warning.

This commit is contained in:
Ken Pettit 2019-01-17 08:58:11 -06:00 committed by Gregory Nutt
parent a79b89202e
commit 42f3c06389

View File

@ -476,7 +476,10 @@ static uint8_t tcurses_vt100_getcolorindex(int red, int green, int blue)
int g;
int b;
int index;
const uint8_t rgbvals[6] = {0, 95, 135, 175, 215, 255};
const uint8_t rgbvals[6] =
{
0, 95, 135, 175, 215, 255
};
/* Test for colors 0-7 */
@ -824,6 +827,7 @@ static int tcurses_vt100_getkeycode(FAR struct termcurses_s *dev, FAR int *speci
*keymodifiers = 0;
*specialkey = 0;
ismodifier = false;
buildkeycount = 0;
while (keycode == -1)
{