From: Brian Paul Date: Fri, 24 Jan 2003 21:42:27 +0000 (+0000) Subject: remove unused vars X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7209b54f71a801af394dc478bd726db944cf25e;p=mesa.git remove unused vars --- diff --git a/src/glw/GLwDrawA.c b/src/glw/GLwDrawA.c index d4bcfacad73..30304a40801 100644 --- a/src/glw/GLwDrawA.c +++ b/src/glw/GLwDrawA.c @@ -415,7 +415,6 @@ static void createAttribList(GLwDrawingAreaWidget w){ /* Initialize the visualInfo based on the attribute list */ static void createVisualInfo(GLwDrawingAreaWidget w){ - static XVisualInfo *visualInfo; assert(w->glwDrawingArea.attribList); w->glwDrawingArea.visualInfo=glXChooseVisual(XtDisplay(w),XScreenNumberOfScreen(XtScreen(w)),w->glwDrawingArea.attribList); if(!w->glwDrawingArea.visualInfo) error((Widget)w,"requested visual not supported"); @@ -578,7 +577,6 @@ static void Realize(Widget w,Mask *valueMask,XSetWindowAttributes *attributes){ static void Redraw(GLwDrawingAreaWidget w,XEvent *event,Region region){ GLwDrawingAreaCallbackStruct cb; - XtCallbackList cblist; if(!XtIsRealized((Widget)w)) return; cb.reason=GLwCR_EXPOSE; cb.event=event;