summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index f7f1f3a49..be50cf887 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2707,7 +2707,7 @@ int map_readfromcache(struct map_data *m, char *buffer, char *decode_buffer)
{
int i;
struct map_cache_main_header *header = (struct map_cache_main_header *)buffer;
- struct map_cache_map_info *info;
+ struct map_cache_map_info *info = NULL;
unsigned char *p = buffer + sizeof(struct map_cache_main_header);
for(i = 0; i < header->map_count; i++) {