summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvncclient/zrle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/zrle.c b/libvncclient/zrle.c
index 9061910..50654b3 100644
--- a/libvncclient/zrle.c
+++ b/libvncclient/zrle.c
@@ -217,7 +217,7 @@ static int HandleZRLETile(rfbClient* client,
case 0: /* raw */
{
#if REALBPP!=BPP
- int i,j,j2;
+ int i,j;
if(1+w*h*REALBPP/8>buffer_length) {
rfbClientLog("expected %d bytes, got only %d (%dx%d)\n",1+w*h*REALBPP/8,buffer_length,w,h);