summaryrefslogtreecommitdiff
path: root/src/map/script.c
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/map/script.c
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/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
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;