From ffaa0ff334ca58f136aaf4a1de008ac461a8c3c1 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 15 Jun 2015 13:59:33 +0200 Subject: [PATCH] FIX: removed width in cmdcrc.c , to get rid of the compiler warning. --- client/cmdcrc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/cmdcrc.c b/client/cmdcrc.c index 99a4ac88..666b4a8e 100644 --- a/client/cmdcrc.c +++ b/client/cmdcrc.c @@ -271,7 +271,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res int ibperhx = 8, obperhx = 8; int rflags = 0; // search flags int c; - unsigned long width; poly_t apoly, crc; char *string; @@ -290,8 +289,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res if(c < 0) return uerr("no preset models available"); - // must set width so that parameter to -ipx is not zeroed - width = plen(model.spoly); rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX; //set flags -- 2.39.2