소스 검색

* Fixed a tiny compile warning in npc.c [Codemaster]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@710 54d463be-8e91-2dee-dedb-b68131a5f0ec
codemaster 20 년 전
부모
커밋
127bbb3dee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/npc.c

+ 1 - 1
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];