From 609dca9fdf9a03500c0f4023da7bcc4389f36c52 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 14 Sep 2008 21:29:13 +0000 Subject: Silence some compiler warnings on heretic/hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1228 --- src/heretic/p_maputl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/heretic/p_maputl.c') 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 + #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) { -- cgit v1.2.3