FIX: removed width in cmdcrc.c , to get rid of the compiler warning.

This commit is contained in:
iceman1001 2015-06-15 13:59:33 +02:00
parent 96e41bfcec
commit ffaa0ff334

View file

@ -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