diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-25 21:59:12 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-25 21:59:12 +0000 |
commit | 7a09df3529b6f9639346f686aa3ade5176223935 (patch) | |
tree | a727272e0441f475e6a72a1ab42e395b5163f936 /src | |
parent | 495c3a2104cb72fe1d705c2e5403ec76f5207712 (diff) | |
download | hercules-7a09df3529b6f9639346f686aa3ade5176223935.tar.gz hercules-7a09df3529b6f9639346f686aa3ade5176223935.tar.bz2 hercules-7a09df3529b6f9639346f686aa3ade5176223935.tar.xz hercules-7a09df3529b6f9639346f686aa3ade5176223935.zip |
- 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
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 2 insertions, 0 deletions
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;
|