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
commit0b0e63cdf9429f114667f26b6389fb69bff57e92 (patch)
tree68d421964ed68a0cbb0cde576bcc3b8aeabe6732
parent49a08e5e38cb00be7da4474b1aead583a234ea3a (diff)
downloadopenttd-0b0e63cdf9429f114667f26b6389fb69bff57e92.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;