commented out some "unreferenced local variables"

This commit is contained in:
Thad Ward 2000-05-13 04:44:12 +00:00
parent 134a94cd8a
commit d8a45153e0
5 changed files with 21 additions and 21 deletions

View file

@ -251,7 +251,7 @@ static void CD_f (void)
char *command; char *command;
int ret; int ret;
int n; int n;
int startAddress; // int startAddress;
if (Cmd_Argc() < 2) if (Cmd_Argc() < 2)
return; return;

View file

@ -180,8 +180,8 @@ Sys_Init
*/ */
void Sys_Init (void) void Sys_Init (void)
{ {
LARGE_INTEGER PerformanceFreq; // LARGE_INTEGER PerformanceFreq;
unsigned int lowpart, highpart; // unsigned int lowpart, highpart;
OSVERSIONINFO vinfo; OSVERSIONINFO vinfo;
#ifndef SERVERONLY #ifndef SERVERONLY
@ -255,8 +255,8 @@ void Sys_Init (void)
void Sys_Error (char *error, ...) void Sys_Error (char *error, ...)
{ {
va_list argptr; va_list argptr;
char text[1024], text2[1024]; char text[1024];//, text2[1024];
DWORD dummy; // DWORD dummy;
Host_Shutdown (); Host_Shutdown ();
@ -276,8 +276,8 @@ void Sys_Error (char *error, ...)
void Sys_Printf (char *fmt, ...) void Sys_Printf (char *fmt, ...)
{ {
va_list argptr; va_list argptr;
char text[1024]; // char text[1024];
DWORD dummy; // DWORD dummy;
va_start (argptr,fmt); va_start (argptr,fmt);
vprintf (fmt, argptr); vprintf (fmt, argptr);
@ -400,7 +400,7 @@ double Sys_DoubleTime (void)
static DWORD starttime; static DWORD starttime;
static qboolean first = true; static qboolean first = true;
DWORD now; DWORD now;
double t; // double t;
now = timeGetTime(); now = timeGetTime();
@ -424,7 +424,7 @@ char *Sys_ConsoleInput (void)
static char text[256]; static char text[256];
static int len; static int len;
INPUT_RECORD recs[1024]; INPUT_RECORD recs[1024];
int count; // int count;
int i, dummy; int i, dummy;
int ch, numread, numevents; int ch, numread, numevents;
HANDLE th; HANDLE th;
@ -577,7 +577,7 @@ HWND hwnd_dialog;
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{ {
MSG msg; // MSG msg;
quakeparms_t parms; quakeparms_t parms;
double time, oldtime, newtime; double time, oldtime, newtime;
MEMORYSTATUS lpBuffer; MEMORYSTATUS lpBuffer;

View file

@ -429,7 +429,7 @@ IN_StartupMouse
*/ */
void IN_StartupMouse (void) void IN_StartupMouse (void)
{ {
HDC hdc; // HDC hdc;
if ( COM_CheckParm ("-nomouse") ) if ( COM_CheckParm ("-nomouse") )
return; return;
@ -588,7 +588,7 @@ IN_MouseMove
void IN_MouseMove (usercmd_t *cmd) void IN_MouseMove (usercmd_t *cmd)
{ {
int mx, my; int mx, my;
HDC hdc; // HDC hdc;
int i; int i;
DIDEVICEOBJECTDATA od; DIDEVICEOBJECTDATA od;
DWORD dwElements; DWORD dwElements;
@ -757,8 +757,8 @@ IN_Accumulate
*/ */
void IN_Accumulate (void) void IN_Accumulate (void)
{ {
int mx, my; // int mx, my;
HDC hdc; // HDC hdc;
if (mouseactive) if (mouseactive)
{ {
@ -797,7 +797,7 @@ IN_StartupJoystick
*/ */
void IN_StartupJoystick (void) void IN_StartupJoystick (void)
{ {
int i, numdevs; int /*i,*/ numdevs;
JOYCAPS jc; JOYCAPS jc;
MMRESULT mmr; MMRESULT mmr;

View file

@ -215,7 +215,7 @@ Interactive line editing and console scrollback
void Key_Console (int key) void Key_Console (int key)
{ {
#ifdef _WIN32 #ifdef _WIN32
char *cmd, *s; // char *cmd, *s;
int i; int i;
HANDLE th; HANDLE th;
char *clipText, *textCopied; char *clipText, *textCopied;

View file

@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo # ADD BSC32 /nologo
LINK32=link.exe LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 dxguid.lib ..\scitech\lib\win32\vc\mgllt.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib /nologo /subsystem:windows /machine:I386 # ADD LINK32 dxguid.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib mglfx.lib /nologo /subsystem:windows /machine:I386
!ELSEIF "$(CFG)" == "qw_client - Win32 Debug" !ELSEIF "$(CFG)" == "qw_client - Win32 Debug"
@ -320,6 +320,10 @@ SOURCE=.\r_vars.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\r_view.c
# End Source File
# Begin Source File
SOURCE=.\sbar.c SOURCE=.\sbar.c
# End Source File # End Source File
# Begin Source File # Begin Source File
@ -356,10 +360,6 @@ SOURCE=.\vid_win.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\view.c
# End Source File
# Begin Source File
SOURCE=.\wad.c SOURCE=.\wad.c
# End Source File # End Source File
# Begin Source File # Begin Source File