Mesa (master): dri2: Remove an unused variable.

Carl Worth cworth at kemper.freedesktop.org
Wed Jul 21 20:29:41 UTC 2010


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

Author: Carl Worth <cworth at cworth.org>
Date:   Wed Jul 21 13:17:05 2010 -0700

dri2: Remove an unused variable.

To quiet a compiler warning.

---

 src/glx/dri2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/glx/dri2.c b/src/glx/dri2.c
index ab530ba..6b8b2b9 100644
--- a/src/glx/dri2.c
+++ b/src/glx/dri2.c
@@ -88,7 +88,6 @@ static Bool
 DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
 {
    XExtDisplayInfo *info = DRI2FindDisplay(dpy);
-   XExtDisplayInfo *glx_info = __glXFindDisplay(dpy);
 
    XextCheckExtension(dpy, info, dri2ExtensionName, False);
 




More information about the mesa-commit mailing list