summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 21:51:56 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 21:51:56 +0000
commita4bb0c3ad6d6ba04cfe3f142da460bcf836e069f (patch)
tree0072a5eb971520d234780328481300fb9c84b359 /src/map/map.c
parent69ebeeb417756359eee461ea9db90d96564d8536 (diff)
downloadhercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.gz
hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.bz2
hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.tar.xz
hercules-a4bb0c3ad6d6ba04cfe3f142da460bcf836e069f.zip
* Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
* Added an option for parse_script to ignore the checks for the set of brackets around the script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11398 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 b18b93753..1c2cd193e 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2607,7 +2607,7 @@ int map_readgat (struct map_data* m)
int map_readallmaps (void)
{
int i;
- FILE* fp;
+ FILE* fp=NULL;
int maps_removed = 0;
if( enable_grf )