summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-21 21:07:44 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-21 21:07:44 +0000
commitacfebb54153acf669ec18822db76c5db8649cb2b (patch)
treee380fd12e409ec011a96437455358a5bf3f47aa7 /src
parent6187e0b109ca6947fb247245a2290b8339011fcd (diff)
downloadhercules-acfebb54153acf669ec18822db76c5db8649cb2b.tar.gz
hercules-acfebb54153acf669ec18822db76c5db8649cb2b.tar.bz2
hercules-acfebb54153acf669ec18822db76c5db8649cb2b.tar.xz
hercules-acfebb54153acf669ec18822db76c5db8649cb2b.zip
* Fixed a tiny compile warning in npc.c [Codemaster]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@710 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 5e40cf6cb..43b97b055 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1586,7 +1586,7 @@ static int npc_parse_script(char *w1,char *w2,char *w3,char *w4,char *first_line
{
int x,y,dir=0,m,xs=0,ys=0,class=0; // [Valaris] thanks to fov
char mapname[24];
- char *srcbuf=NULL,*script;
+ char *srcbuf=NULL,*script=NULL;
int srcsize=65536;
int startline=0;
char line[1024];