glx: Fix compilation with out xf86vidmode
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 7 Sep 2010 18:23:00 +0000 (14:23 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 7 Sep 2010 18:24:25 +0000 (14:24 -0400)
src/glx/glxcmds.c

index d9e370c19973928daa0439f0331fe6eea83dcc06..4bdb41d1b8c6f7e19663d3d586daaa447dbce59f 100644 (file)
@@ -2065,15 +2065,9 @@ __glxGetMscRate(__GLXDRIdrawable *glxDraw,
       return True;
    }
    else
-      return False;
-#else
-   (void) draw;
-   (void) numerator;
-   (void) denominator;
-   (void) private;
+#endif
 
    return False;
-#endif
 }
 #endif