summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-01 17:46:50 -0300
committershennetsind <ind@henn.et>2013-04-01 17:46:50 -0300
commit0b6c9d577286dbaaa9fe24635d896cc4d5dbf454 (patch)
treeeb6d1d50b509721e6de8fbdfe970c18c297bbdda /src
parent1e87c09c8463009a4c97d30277d2345b3c83b0f3 (diff)
downloadhercules-0b6c9d577286dbaaa9fe24635d896cc4d5dbf454.tar.gz
hercules-0b6c9d577286dbaaa9fe24635d896cc4d5dbf454.tar.bz2
hercules-0b6c9d577286dbaaa9fe24635d896cc4d5dbf454.tar.xz
hercules-0b6c9d577286dbaaa9fe24635d896cc4d5dbf454.zip
Fixed Bug #7141
http://hercules.ws/board/tracker/issue-7141-some-warnings/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/script.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fefb5afc2..1192fcf8f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10117,7 +10117,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
return;
}
} else if( target[0] == '#' ) {
- struct hChSysCh *channel;
+ struct hChSysCh *channel = NULL;
char* chname = target;
chname++;
diff --git a/src/map/script.c b/src/map/script.c
index e852a6e1e..d023c9757 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10753,7 +10753,7 @@ static int script_mapflag_pvp_sub(struct block_list *bl,va_list ap) {
BUILDIN_FUNC(setmapflag)
{
int16 m,i;
- const char *str, *val2;
+ const char *str, *val2 = NULL;
struct script_data* data;
int val=0;