diff options
author | Brian Paul <[email protected]> | 2014-04-21 09:49:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-04-21 09:50:53 -0600 |
commit | 7cb3bbf2cd64b8e8d7eb49cdc1238808f140f66b (patch) | |
tree | e8e907f180ad324bd3a44cab8a7c4281c50cf1e7 /src | |
parent | 1f043cd95a143d064a0181df2d688ceffe713ba5 (diff) |
libgl-gdi: silence unused variable warning when not using LLVM
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/targets/libgl-gdi/libgl_gdi.c | 2 |
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) { |