diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2012-08-08 20:11:43 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:53 -0800 |
commit | b8f0a2188295f6cc2c997b6639b6928323eae617 (patch) | |
tree | 2e3770f88300e9c134b0dc4c6b75b04bd203be45 /glamor/glamor_polylines.c | |
parent | 50614451adafc816ae5ffbe9c2a97a58f493b927 (diff) |
Silence compilation warnings.
After increase to gcc4.7, it reports more warnings, now
fix them.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Junyan He<junyan.he@linux.intel.com>
Diffstat (limited to 'glamor/glamor_polylines.c')
-rw-r--r-- | glamor/glamor_polylines.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/glamor/glamor_polylines.c b/glamor/glamor_polylines.c index 70dd6c161..e723e9500 100644 --- a/glamor/glamor_polylines.c +++ b/glamor/glamor_polylines.c @@ -45,7 +45,6 @@ _glamor_poly_lines(DrawablePtr drawable, GCPtr gc, int mode, int n, xRectangle *rects; int x1, x2, y1, y2; int i; - glamor_screen_private *glamor_priv; /* Don't try to do wide lines or non-solid fill style. */ if (gc->lineWidth != 0) { @@ -105,7 +104,6 @@ _glamor_poly_lines(DrawablePtr drawable, GCPtr gc, int mode, int n, && glamor_ddx_fallback_check_gc(gc)) return FALSE; - glamor_priv = glamor_get_screen_private(drawable->pScreen); if (gc->lineWidth == 0) { if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW)) { if (glamor_prepare_access_gc(gc)) { |