From 98973ee90127b944fe5947e97f080d0ee4d092c3 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sun, 12 Jun 2016 22:56:26 +0200 Subject: [PATCH] Avoid warnings on monochrom targets (and remove unnecessary code). --- samples/hello.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/samples/hello.c b/samples/hello.c index 385112367..854e9a4b4 100644 --- a/samples/hello.c +++ b/samples/hello.c @@ -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 ();