mesa/gdi: Silence gcc warning about unused result.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 4 May 2011 13:10:15 +0000 (14:10 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 4 May 2011 13:10:15 +0000 (14:10 +0100)
src/mesa/drivers/windows/gdi/wgl.c

index 1dafe6e2952ea1952b45f608a2884ab585f17ebb..bf4ca9c908f0a330a280370c93da27f90bdd38cd 100644 (file)
@@ -390,7 +390,7 @@ static FIXED FixedFromDouble(double d)
 static BOOL wglUseFontBitmaps_FX(HDC fontDevice, DWORD firstChar,
                                  DWORD numChars, DWORD listBase)
 {
-#define VERIFY(a) a
+#define VERIFY(a) (void)(a)
     
     TEXTMETRIC metric;
     BITMAPINFO *dibInfo;