summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;