From: Oliver Schmidt 
Date: Sun, 12 Jun 2016 20:56:26 +0000 (+0200)
Subject: Avoid warnings on monochrom targets (and remove unnecessary code).
X-Git-Tag: V2.16~108
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98973ee90127b944fe5947e97f080d0ee4d092c3;p=cc65
Avoid warnings on monochrom targets (and remove unnecessary code).
---
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 ();