From 230acf05607ab175e785a292a7019d3bc4a8ddfa Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Fri, 24 Jan 2020 23:02:47 +0000 Subject: [PATCH] zrle: Remove unused variable --- src/zrle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/zrle.c b/src/zrle.c index 81f3faf..de7145d 100644 --- a/src/zrle.c +++ b/src/zrle.c @@ -204,7 +204,6 @@ int zrle_encode_box(struct vec* out, const struct rfb_pixel_format* dst_fmt, { int r = -1; int bytes_per_cpixel = dst_fmt->depth / 8; - int chunk_size = 1 + bytes_per_cpixel * TILE_LENGTH * TILE_LENGTH; struct vec in; uint32_t* tile = malloc(TILE_LENGTH * TILE_LENGTH * 4);