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 5c7f40cdffac3b919f666fbc74f9c2a1225f3b8a..e8cc4c83e06ea25c3333597232f12e703fa66f90 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;
 }