]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused return value of 'cb_game_mode'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 6 May 2022 00:50:43 +0000 (17:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Jun 2022 16:21:54 +0000 (09:21 -0700)
cmd/smyrna/glutrender.c

index bf21e37ee33b3cad18ec40d007a9c58f099e1518..77277584fbd44f411fed1f389799bf87bd296fdd 100644 (file)
@@ -207,15 +207,13 @@ static void cb_special_key_up(int key, int x, int y)
 
 }
 
-static int cb_game_mode(char* optArg)
+static void cb_game_mode(char* optArg)
 {
     
     glutGameModeString(optArg);
     if (glutGameModeGet(GLUT_GAME_MODE_POSSIBLE)) 
     {
        glutEnterGameMode();
-       return 1;
-
     }
     else 
     {