summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-04-21 09:49:40 -0600
committerBrian Paul <[email protected]>2014-04-21 09:50:53 -0600
commit7cb3bbf2cd64b8e8d7eb49cdc1238808f140f66b (patch)
treee8e907f180ad324bd3a44cab8a7c4281c50cf1e7 /src/gallium/targets/libgl-gdi
parent1f043cd95a143d064a0181df2d688ceffe713ba5 (diff)
libgl-gdi: silence unused variable warning when not using LLVM
Diffstat (limited to 'src/gallium/targets/libgl-gdi')
-rw-r--r--src/gallium/targets/libgl-gdi/libgl_gdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c b/src/gallium/targets/libgl-gdi/libgl_gdi.c
index 3f7dc00b080..a2fb161c682 100644
--- a/src/gallium/targets/libgl-gdi/libgl_gdi.c
+++ b/src/gallium/targets/libgl-gdi/libgl_gdi.c
@@ -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) {