From 618ab5ea08fd5749334b0b3d23bebf14ccbcc2eb Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Sat, 23 Nov 2019 23:49:47 +0100 Subject: [PATCH] Remove several unused variables in zmbv --- src/libs/zmbv/zmbv.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/libs/zmbv/zmbv.cpp b/src/libs/zmbv/zmbv.cpp index 2f18b150..e00d62ad 100644 --- a/src/libs/zmbv/zmbv.cpp +++ b/src/libs/zmbv/zmbv.cpp @@ -194,13 +194,9 @@ INLINE void VideoCodec::AddXorBlock(int vx,int vy,FrameBlock * block) { template void VideoCodec::AddXorFrame(void) { - int written=0; - int lastvector=0; signed char * vectors=(signed char*)&work[workUsed]; /* Align the following xor data on 4 byte boundary*/ workUsed=(workUsed + blockcount*2 +3) & ~3; - int totalx=0; - int totaly=0; for (int b=0;b