summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-04-15 07:39:21 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-04-15 07:39:21 +0000
commit50851794a6bdd585ce70ecb430b1f798fb90936b (patch)
tree8618ccdbf1587ca6bf0410dea2cbc212655adcf6 /tools/scramble.c
parentdf243a124bbe7b79d8141b76d9889dd2e6751a60 (diff)
downloadrockbox-50851794a6bdd585ce70ecb430b1f798fb90936b.tar.gz
rockbox-50851794a6bdd585ce70ecb430b1f798fb90936b.zip
Fix a (possibly gcc 3 only) warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 130ca89ffb..7aad4bfa92 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -125,7 +125,7 @@ void usage(void)
125 125
126int main (int argc, char** argv) 126int main (int argc, char** argv)
127{ 127{
128 unsigned long length,i,slen; 128 unsigned long length,i,slen=0;
129 unsigned char *inbuf,*outbuf; 129 unsigned char *inbuf,*outbuf;
130 unsigned short crc=0; 130 unsigned short crc=0;
131 unsigned long chksum=0; /* 32 bit checksum */ 131 unsigned long chksum=0; /* 32 bit checksum */