Mesa (master): xlib: silence unused var warning

Brian Paul brianp at kemper.freedesktop.org
Mon Feb 27 19:29:37 PST 2012


Module: Mesa
Branch: master
Commit: 2aeadabc7ec05e45d4f8f3bf4df531d9c451ad45
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aeadabc7ec05e45d4f8f3bf4df531d9c451ad45

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Feb 27 20:28:09 2012 -0700

xlib: silence unused var warning

---

 src/mesa/drivers/x11/fakeglx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index fffcae4..c30ba04 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1153,6 +1153,7 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig )
       return NULL;
 
    (void) caveat;
+   (void) min_ci;
 
    /*
     * Since we're only simulating the GLX extension this function will never



More information about the mesa-commit mailing list