drisw: dead store removal
authorAdam Jackson <ajax@redhat.com>
Thu, 28 Apr 2011 19:35:30 +0000 (15:35 -0400)
committerAdam Jackson <ajax@redhat.com>
Tue, 24 May 2011 20:43:53 +0000 (16:43 -0400)
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/drisw_glx.c

index 5c7f40c..e8cc4c8 100644 (file)
@@ -128,13 +128,11 @@ swrastGetDrawableInfo(__DRIdrawable * draw,
    Drawable drawable;
 
    Window root;
-   Status stat;
    unsigned uw, uh, bw, depth;
 
    drawable = pdraw->xDrawable;
 
-   stat = XGetGeometry(dpy, drawable, &root,
-                       x, y, &uw, &uh, &bw, &depth);
+   XGetGeometry(dpy, drawable, &root, x, y, &uw, &uh, &bw, &depth);
    *w = uw;
    *h = uh;
 }