Mesa (master): drisw: dead store removal

Adam Jackson ajax at kemper.freedesktop.org
Tue May 24 20:39:22 UTC 2011


Module: Mesa
Branch: master
Commit: b24f291e429b94ca7de74f8b32279e3a0375cd9c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b24f291e429b94ca7de74f8b32279e3a0375cd9c

Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Apr 28 15:35:30 2011 -0400

drisw: dead store removal

Signed-off-by: Adam Jackson <ajax at redhat.com>

---

 src/glx/drisw_glx.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 5c7f40c..e8cc4c8 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;
 }




More information about the mesa-commit mailing list