summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/crc32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/crc32.c b/source3/lib/crc32.c
index e026fbf861..bd4f1633e5 100644
--- a/source3/lib/crc32.c
+++ b/source3/lib/crc32.c
@@ -57,8 +57,7 @@ static unsigned long CRCTable[256] =
uint32 crc32_calc_buffer( char *buffer, uint32 count)
{
- uint32 crc=0xffffffff;
- int i;
+ uint32 crc=0xffffffff, i;
for(i=0;i<count;i++)
crc = (crc>>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff];
crc^=0xffffffff;