From 8f4b6a735e96dcf5ae00b2eb755914c30be68a68 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Mon, 11 Oct 2010 03:58:18 +0000 Subject: Added NULL initialization to info variable in map_readfromcache() to satiate compiler. (bugreport:4399) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14422 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.c') 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++) { -- cgit v1.2.3-60-g2f50