drisw: dead store removal
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
d3b6e8a2b8
commit
b24f291e42
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue