summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-04-28 15:35:30 -0400
committerAdam Jackson <ajax@redhat.com>2011-05-24 16:43:53 -0400
commitb24f291e429b94ca7de74f8b32279e3a0375cd9c (patch)
treed8061dc1694740ea51d50ba137389bfc01770bdc /src/glx
parentd3b6e8a2b8e3581e07a6dd7277d4d4c6c0407760 (diff)
downloadexternal_mesa3d-b24f291e429b94ca7de74f8b32279e3a0375cd9c.zip
external_mesa3d-b24f291e429b94ca7de74f8b32279e3a0375cd9c.tar.gz
external_mesa3d-b24f291e429b94ca7de74f8b32279e3a0375cd9c.tar.bz2
drisw: dead store removal
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/drisw_glx.c4
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;
}