From: Ray Strode Date: Wed, 9 Feb 2011 20:26:59 +0000 (-0500) Subject: drm: clean up warnings X-Git-Tag: 0.8.4~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b81cc2682a142f80839a35bc2686b00798431412;p=thirdparty%2Fplymouth.git drm: clean up warnings --- diff --git a/src/plugins/renderers/drm/plugin.c b/src/plugins/renderers/drm/plugin.c index 6b852bab..0180cdd1 100644 --- a/src/plugins/renderers/drm/plugin.c +++ b/src/plugins/renderers/drm/plugin.c @@ -311,11 +311,9 @@ flush_area (const char *src, unsigned long dst_row_stride, ply_rectangle_t *area_to_flush) { - unsigned long x1, y1, x2, y2, y; + unsigned long y1, y2, y; - x1 = area_to_flush->x; y1 = area_to_flush->y; - x2 = x1 + area_to_flush->width; y2 = y1 + area_to_flush->height; if (area_to_flush->width * 4 == src_row_stride &&