]> git.webhop.me Git - lcd4linux.git/commitdiff
suppress compiler warning
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 23 Sep 2009 04:14:55 +0000 (04:14 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 23 Sep 2009 04:14:55 +0000 (04:14 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1041 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_MatrixOrbitalGX.c

index dc75dd12e48535bbfd9f5d156fff08eb88123831..5906f1feeff9249493a2a5bfeefebf57e43fc833 100644 (file)
@@ -348,7 +348,8 @@ static int drv_MOGX_backlightRGB(int backlight_R, int backlight_G, int backlight
 }
 
 /* start graphic display */
-static int drv_MOGX_start(const char *section, const int quiet)
+static int drv_MOGX_start(const char *section, const __attribute__ ((unused))
+                         int quiet)
 {
     char *s;
     int value1, value2, value3;
@@ -541,20 +542,14 @@ int drv_MOGX_init(const char *section, const int quiet)
 
 
 /* close driver & display */
-int drv_MOGX_quit(const int quiet)
+int drv_MOGX_quit(const __attribute__ ((unused))
+                 int quiet)
 {
     info("%s: shutting down.", Name);
 
     /* clear display */
     drv_MOGX_clear();
 
-    /* say goodbye... */
-    /*
-       if (!quiet) {
-       drv_generic_graphic_greet("goodbye!", NULL);
-       }
-     */
-
     drv_generic_graphic_quit();
 
     //debug("closing connection");