summaryrefslogtreecommitdiff
path: root/src/p_maputl.c
diff options
context:
space:
mode:
authorSimon Howard2005-08-04 18:42:15 +0000
committerSimon Howard2005-08-04 18:42:15 +0000
commit3aeb98b92575dccb70df15c393c95a72891ce205 (patch)
tree63720b4d6abb9f71a603984ea3997554d0e9aa99 /src/p_maputl.c
parentb500013f80419217013ada4211662e9bea2702e4 (diff)
downloadchocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.tar.gz
chocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.tar.bz2
chocolate-doom-3aeb98b92575dccb70df15c393c95a72891ce205.zip
Silence compiler warnings
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 37
Diffstat (limited to 'src/p_maputl.c')
-rw-r--r--src/p_maputl.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/p_maputl.c b/src/p_maputl.c
index 1566263a..8a7eac1e 100644
--- a/src/p_maputl.c
+++ b/src/p_maputl.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: p_maputl.c 19 2005-07-23 19:17:11Z fraggle $
+// $Id: p_maputl.c 37 2005-08-04 18:42:15Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2005/08/04 18:42:15 fraggle
+// Silence compiler warnings
+//
// Revision 1.3 2005/07/23 19:17:11 fraggle
// Use ANSI-standard limit constants. Remove LINUX define.
//
@@ -41,7 +44,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: p_maputl.c 19 2005-07-23 19:17:11Z fraggle $";
+rcsid[] = "$Id: p_maputl.c 37 2005-08-04 18:42:15Z fraggle $";
#include <stdlib.h>
@@ -127,8 +130,8 @@ P_BoxOnLineSide
( fixed_t* tmbox,
line_t* ld )
{
- int p1;
- int p2;
+ int p1 = 0;
+ int p2 = 0;
switch (ld->slopetype)
{