From: Adam Jackson Date: Thu, 28 Apr 2011 19:35:30 +0000 (-0400) Subject: drisw: dead store removal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b24f291e429b94ca7de74f8b32279e3a0375cd9c;p=mesa.git drisw: dead store removal Signed-off-by: Adam Jackson --- diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 5c7f40cdffa..e8cc4c83e06 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -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; }