Avoid warnings on monochrom targets (and remove unnecessary code).

This commit is contained in:
Oliver Schmidt 2016-06-12 22:56:26 +02:00
parent 524813ff60
commit 98973ee901
1 changed files with 4 additions and 5 deletions

View File

@ -34,11 +34,10 @@ int main (void)
{
unsigned char XSize, YSize;
/* Set screen colors, hide the cursor */
textcolor (COLOR_WHITE);
bordercolor (COLOR_BLACK);
bgcolor (COLOR_BLACK);
cursor (0);
/* Set screen colors */
(void) textcolor (COLOR_WHITE);
(void) bordercolor (COLOR_BLACK);
(void) bgcolor (COLOR_BLACK);
/* Clear the screen, put cursor in upper left corner */
clrscr ();