diff options
author | Simon Howard | 2008-09-14 21:29:13 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-14 21:29:13 +0000 |
commit | 609dca9fdf9a03500c0f4023da7bcc4389f36c52 (patch) | |
tree | 678cb25f1968bd8e282fa1d681458959f82a04e0 /src/heretic/p_maputl.c | |
parent | 7019bf097b3adf2e079e92d363723e0c9b923d0c (diff) | |
download | chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.gz chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.bz2 chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.zip |
Silence some compiler warnings on heretic/hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1228
Diffstat (limited to 'src/heretic/p_maputl.c')
-rw-r--r-- | src/heretic/p_maputl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/heretic/p_maputl.c b/src/heretic/p_maputl.c index c72a6826..23aed3b2 100644 --- a/src/heretic/p_maputl.c +++ b/src/heretic/p_maputl.c @@ -23,6 +23,8 @@ // P_maputl.c +#include <stdlib.h> + #include "doomdef.h" #include "p_local.h" @@ -98,7 +100,7 @@ int P_PointOnLineSide(fixed_t x, fixed_t y, line_t * line) int P_BoxOnLineSide(fixed_t * tmbox, line_t * ld) { - int p1, p2; + int p1 = 0, p2 = 0; switch (ld->slopetype) { |