From e30ac416720013db61f9a30d78884a86a7fc639b Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 2 Apr 2012 23:36:33 +0000 Subject: Fixed gcc warning on script.c, getnpcid git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15823 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2