glx: Fix a couple of warnings
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Feb 2010 15:37:48 +0000 (10:37 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Feb 2010 15:38:50 +0000 (10:38 -0500)
src/glx/dri2.c

index 963c587e7aa81028fc510a6a939384132f5b245f..5de55cdbf29505fa97bb9713bf2150f2851b8ea7 100644 (file)
@@ -88,8 +88,6 @@ DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
 {
    XExtDisplayInfo *info = DRI2FindDisplay(dpy);
    XExtDisplayInfo *glx_info = __glXFindDisplay(dpy);
-   static int glx_event_base;
-   static Bool found_glx_info = False;
 
    XextCheckExtension(dpy, info, dri2ExtensionName, False);