summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-11 03:58:18 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-11 03:58:18 +0000
commitcdd2f5b41eb138eae3e66b7654efe3b212b70319 (patch)
treec2139e1cf8f766463393427d52ca679b7724d396 /src
parent6d1fa1c2b8527838dfdc0c7d0950aa40dc237ca0 (diff)
downloadhercules-cdd2f5b41eb138eae3e66b7654efe3b212b70319.tar.gz
hercules-cdd2f5b41eb138eae3e66b7654efe3b212b70319.tar.bz2
hercules-cdd2f5b41eb138eae3e66b7654efe3b212b70319.tar.xz
hercules-cdd2f5b41eb138eae3e66b7654efe3b212b70319.zip
Added NULL initialization to info variable in map_readfromcache() to satiate compiler. (bugreport:4399)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14422 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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++) {