summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-24 21:42:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-24 21:42:27 +0000
commitb7209b54f71a801af394dc478bd726db944cf25e (patch)
treec07a495fb04c36b99e194cbc41c2de23609a0fc0 /src/glw
parent388781a5264266e99822ab50b8818cb3ec744a0f (diff)
remove unused vars
Diffstat (limited to 'src/glw')
-rw-r--r--src/glw/GLwDrawA.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glw/GLwDrawA.c b/src/glw/GLwDrawA.c
index d4bcfacad7..30304a4080 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;