diff options
author | Simon Howard | 2005-08-04 18:42:15 +0000 |
---|---|---|
committer | Simon Howard | 2005-08-04 18:42:15 +0000 |
commit | 3aeb98b92575dccb70df15c393c95a72891ce205 (patch) | |
tree | 63720b4d6abb9f71a603984ea3997554d0e9aa99 /src/i_video.c | |
parent | b500013f80419217013ada4211662e9bea2702e4 (diff) | |
download | chocolate-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/i_video.c')
-rw-r--r-- | src/i_video.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/i_video.c b/src/i_video.c index 28ced016..87ccb61b 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_video.c 33 2005-08-04 01:13:46Z fraggle $ +// $Id: i_video.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.11 2005/08/04 18:42:15 fraggle +// Silence compiler warnings +// // Revision 1.10 2005/08/04 01:13:46 fraggle // Loading disk // @@ -62,11 +65,12 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_video.c 33 2005-08-04 01:13:46Z fraggle $"; +rcsid[] = "$Id: i_video.c 37 2005-08-04 18:42:15Z fraggle $"; #include <ctype.h> #include <SDL.h> +#include "w_wad.h" #include "z_zone.h" #include "doomstat.h" #include "i_system.h" @@ -181,8 +185,6 @@ static void LoadDiskImage(void) int xlatekey(SDL_keysym *sym) { - int rc; - switch(sym->sym) { case SDLK_LEFT: return KEY_LEFTARROW; @@ -289,8 +291,6 @@ static int mousebuttonstate(void) return result; } -static int lastmousex = 0; -static int lastmousey = 0; boolean mousemoved = false; void I_GetEvent(void) |