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/am_map.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/am_map.c')
-rw-r--r-- | src/heretic/am_map.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/heretic/am_map.c b/src/heretic/am_map.c index 267ac009..0c2ab6ee 100644 --- a/src/heretic/am_map.c +++ b/src/heretic/am_map.c @@ -796,8 +796,8 @@ boolean AM_clipMline(mline_t * ml, fline_t * fl) { enum { LEFT = 1, RIGHT = 2, BOTTOM = 4, TOP = 8 }; - register outcode1 = 0, outcode2 = 0, outside; - fpoint_t tmp; + int outcode1 = 0, outcode2 = 0, outside; + fpoint_t tmp = { 0, 0 }; int dx, dy; #define DOOUTCODE(oc, mx, my) \ @@ -902,7 +902,7 @@ void AM_drawFline(fline_t * fl, int color) { register int x, y, dx, dy, sx, sy, ax, ay, d; - static fuck = 0; + static int fuck = 0; switch (color) { @@ -1448,8 +1448,6 @@ void AM_drawCrosshair(int color) void AM_Drawer(void) { - int highestEpisode; - if (!automapactive) return; |