From 7cb3bbf2cd64b8e8d7eb49cdc1238808f140f66b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Apr 2014 09:49:40 -0600 Subject: libgl-gdi: silence unused variable warning when not using LLVM --- src/gallium/targets/libgl-gdi/libgl_gdi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium') 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) { -- cgit v1.2.3