FIX: removed width in cmdcrc.c , to get rid of the compiler warning.
This commit is contained in:
@@ -271,7 +271,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
|
|||||||
int ibperhx = 8, obperhx = 8;
|
int ibperhx = 8, obperhx = 8;
|
||||||
int rflags = 0; // search flags
|
int rflags = 0; // search flags
|
||||||
int c;
|
int c;
|
||||||
unsigned long width;
|
|
||||||
poly_t apoly, crc;
|
poly_t apoly, crc;
|
||||||
|
|
||||||
char *string;
|
char *string;
|
||||||
@@ -290,8 +289,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
|
|||||||
if(c < 0)
|
if(c < 0)
|
||||||
return uerr("no preset models available");
|
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;
|
rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX;
|
||||||
|
|
||||||
//set flags
|
//set flags
|
||||||
|
|||||||
Reference in New Issue
Block a user