drisw: dead store removal
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -128,13 +128,11 @@ swrastGetDrawableInfo(__DRIdrawable * draw,
|
|||||||
Drawable drawable;
|
Drawable drawable;
|
||||||
|
|
||||||
Window root;
|
Window root;
|
||||||
Status stat;
|
|
||||||
unsigned uw, uh, bw, depth;
|
unsigned uw, uh, bw, depth;
|
||||||
|
|
||||||
drawable = pdraw->xDrawable;
|
drawable = pdraw->xDrawable;
|
||||||
|
|
||||||
stat = XGetGeometry(dpy, drawable, &root,
|
XGetGeometry(dpy, drawable, &root, x, y, &uw, &uh, &bw, &depth);
|
||||||
x, y, &uw, &uh, &bw, &depth);
|
|
||||||
*w = uw;
|
*w = uw;
|
||||||
*h = uh;
|
*h = uh;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user