diff --git a/xorg/server/module/rdpCapture.c b/xorg/server/module/rdpCapture.c index 7ac488ab..cfeb6323 100644 --- a/xorg/server/module/rdpCapture.c +++ b/xorg/server/module/rdpCapture.c @@ -148,9 +148,6 @@ rdpCapture0(RegionPtr in_reg, RegionPtr out_reg, src_rect = src + src_offset; dst_rect = dst + dst_offset; - /* bytes per line */ - bytes = width * bytespp; - /* copy one line at a time */ for (j = 0; j < height; j++) { @@ -188,9 +185,6 @@ rdpCapture0(RegionPtr in_reg, RegionPtr out_reg, src_rect = src + src_offset; dst_rect = dst + dst_offset; - /* bytes per line */ - bytes = width * bytespp; - /* copy one line at a time */ for (j = 0; j < height; j++) { @@ -228,9 +222,6 @@ rdpCapture0(RegionPtr in_reg, RegionPtr out_reg, src_rect = src + src_offset; dst_rect = dst + dst_offset; - /* bytes per line */ - bytes = width * bytespp; - /* copy one line at a time */ for (j = 0; j < height; j++) {