zrle: Remove unused variable

vencrypt
Andri Yngvason 2020-01-24 23:02:47 +00:00
parent a387b6c589
commit 230acf0560
1 changed files with 0 additions and 1 deletions

View File

@ -204,7 +204,6 @@ int zrle_encode_box(struct vec* out, const struct rfb_pixel_format* dst_fmt,
{ {
int r = -1; int r = -1;
int bytes_per_cpixel = dst_fmt->depth / 8; int bytes_per_cpixel = dst_fmt->depth / 8;
int chunk_size = 1 + bytes_per_cpixel * TILE_LENGTH * TILE_LENGTH;
struct vec in; struct vec in;
uint32_t* tile = malloc(TILE_LENGTH * TILE_LENGTH * 4); uint32_t* tile = malloc(TILE_LENGTH * TILE_LENGTH * 4);