From: kvigor Date: Mon, 20 Nov 2000 21:24:47 +0000 (+0000) Subject: remove unneeded constant array X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=3a8ce1bb0305452a620e598f0300b5a6d25c0185;p=fw%2Fsdcc remove unneeded constant array git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@503 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/examples/ds390/readmac/crcutil.c b/device/examples/ds390/readmac/crcutil.c index 05f5a619..fcfd4329 100644 --- a/device/examples/ds390/readmac/crcutil.c +++ b/device/examples/ds390/readmac/crcutil.c @@ -33,7 +33,9 @@ #include "crcutil.h" // Local global variables +#ifdef WANT_CRC_16 static short oddparity[16] = { 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0 }; +#endif static unsigned char dscrc_table[] = { 0, 94,188,226, 97, 63,221,131,194,156,126, 32,163,253, 31, 65, 157,195, 33,127,252,162, 64, 30, 95, 1,227,189, 62, 96,130,220,