From 7a09df3529b6f9639346f686aa3ade5176223935 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 25 Mar 2006 21:59:12 +0000 Subject: - Fixed a pair of "Conditional jump or move depends on uninitialised value(s)", thanks Valgrind! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5747 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index dd95009d8..3a85618d6 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5760,6 +5760,7 @@ int clif_send0199(int map,int type) struct block_list bl; unsigned char buf[16]; + bl.type = BL_NUL; bl.m = map; WBUFW(buf,0)=0x199; WBUFW(buf,2)=type; @@ -7205,6 +7206,7 @@ int clif_changemapcell(int m,int x,int y,int cell_type,int type) struct block_list bl; unsigned char buf[32]; + bl.type = BL_NUL; bl.m = m; bl.x = x; bl.y = y; -- cgit v1.2.3-70-g09d2