summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 08:21:49 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 08:21:49 +0000
commit391ac7a8a4aedafe818d0559a2011722fa54163c (patch)
tree8a65c56235130924041da14c0241d6ca61d8a1b7 /src
parentcda429236c48cc97119a2dffa3160e01720ca9e9 (diff)
downloadhercules-391ac7a8a4aedafe818d0559a2011722fa54163c.tar.gz
hercules-391ac7a8a4aedafe818d0559a2011722fa54163c.tar.bz2
hercules-391ac7a8a4aedafe818d0559a2011722fa54163c.tar.xz
hercules-391ac7a8a4aedafe818d0559a2011722fa54163c.zip
- a couple of warnings fixed
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9572 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char_sql/int_guild.c2
-rw-r--r--src/map/script.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 8ef59b62b..4f984cf10 100644
--- a/src/char_sql/int_guild.c
+++ b/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"
diff --git a/src/map/script.c b/src/map/script.c
index 86cf18859..dc054ee1b 100644
--- a/src/map/script.c
+++ b/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);