libgl-gdi: silence unused variable warning when not using LLVM
authorBrian Paul <brianp@vmware.com>
Mon, 21 Apr 2014 15:49:40 +0000 (09:49 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Apr 2014 15:50:53 +0000 (09:50 -0600)
src/gallium/targets/libgl-gdi/libgl_gdi.c

index 3f7dc00b0801c4b8453807beeb9065827175c6fd..a2fb161c682dbf29b8cbc447b079ba13c54a651e 100644 (file)
@@ -78,6 +78,8 @@ gdi_screen_create(void)
    if (strcmp(driver, "llvmpipe") == 0) {
       screen = llvmpipe_create_screen( winsys );
    }
+#else
+   (void) driver;
 #endif
 
    if (screen == NULL) {