summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-10 01:50:17 +0000
committerdarkvater <darkvater@openttd.org>2005-01-10 01:50:17 +0000
commit52bfa90d5e58a27d760f9ee53bb45e00af9388ba (patch)
tree68d421964ed68a0cbb0cde576bcc3b8aeabe6732
parentaa261049f4d3c0977555e413ab7d9807c70eef02 (diff)
downloadopenttd-52bfa90d5e58a27d760f9ee53bb45e00af9388ba.tar.xz
(svn r1454) -Fix: small warnings in spritecache.c
-rw-r--r--spritecache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spritecache.c b/spritecache.c
index 758f09b4e..f9641f4f8 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -58,7 +58,7 @@ static int _compact_cache_counter;
typedef struct MD5File {
const char * const filename; // filename
- const md5_byte_t const hash[16]; // md5 sum of the file
+ const md5_byte_t hash[16]; // md5 sum of the file
} MD5File;
typedef struct FileList {
@@ -774,7 +774,6 @@ static bool FileMD5(const MD5File file, bool warn)
{
FILE *f;
char buf[MAX_PATH];
- byte *s;
md5_state_t filemd5state;
int len=0;