]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
drm: clean up warnings
authorRay Strode <rstrode@redhat.com>
Wed, 9 Feb 2011 20:26:59 +0000 (15:26 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 9 Feb 2011 20:27:21 +0000 (15:27 -0500)
src/plugins/renderers/drm/plugin.c

index 6b852baba2d7824a8a6f89da3004c16edd7852b8..0180cdd125d714bd75de150fa809ddb5ad634462 100644 (file)
@@ -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 &&