diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 23:36:33 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 23:36:33 +0000 |
commit | e30ac416720013db61f9a30d78884a86a7fc639b (patch) | |
tree | ccd3204a8aa87869e5e0e6ecb900752e050d172b | |
parent | e5a560e553e3604770ea7b0219859263882747a9 (diff) | |
download | hercules-e30ac416720013db61f9a30d78884a86a7fc639b.tar.gz hercules-e30ac416720013db61f9a30d78884a86a7fc639b.tar.bz2 hercules-e30ac416720013db61f9a30d78884a86a7fc639b.tar.xz hercules-e30ac416720013db61f9a30d78884a86a7fc639b.zip |
Fixed gcc warning on script.c, getnpcid
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15823 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index cae1d094b..950297d8a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6359,7 +6359,7 @@ BUILDIN_FUNC(getcharid) BUILDIN_FUNC(getnpcid) { int num = script_getnum(st,2); - struct npc_data* nd; + struct npc_data* nd = NULL; if( script_hasdata(st,3) ) {// unique npc name |