Jelajahi Sumber

- a couple of warnings fixed

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9572 54d463be-8e91-2dee-dedb-b68131a5f0ec
FlavioJS 18 tahun lalu
induk
melakukan
dd92bd13fd
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      src/char_sql/int_guild.c
  2. 1 1
      src/map/script.c

+ 1 - 1
src/char_sql/int_guild.c

@@ -8,13 +8,13 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "../common/mmo.h"
 #include "../common/cbasetypes.h"
 #include "../common/strlib.h"
 #include "../common/showmsg.h"
 // #include "int_storage.h"
 #include "inter.h"
 #include "int_guild.h"
-#include "mmo.h"
 #include "socket.h"
 #include "db.h"
 #include "malloc.h"

+ 1 - 1
src/map/script.c

@@ -561,7 +561,7 @@ int add_word(const char *p)
 static const char* parse_callfunc(const char *p, int require_paren)
 {
 	const char* p2;
-	const char* arg;
+	const char* arg=NULL;
 	int func;
 
 	func = add_word(p);