From: Brian Paul Date: Mon, 21 Apr 2014 15:49:40 +0000 (-0600) Subject: libgl-gdi: silence unused variable warning when not using LLVM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb3bbf2cd64b8e8d7eb49cdc1238808f140f66b;p=mesa.git libgl-gdi: silence unused variable warning when not using LLVM --- 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) {