mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
commented out some "unreferenced local variables"
This commit is contained in:
parent
134a94cd8a
commit
d8a45153e0
5 changed files with 21 additions and 21 deletions
|
@ -251,7 +251,7 @@ static void CD_f (void)
|
|||
char *command;
|
||||
int ret;
|
||||
int n;
|
||||
int startAddress;
|
||||
// int startAddress;
|
||||
|
||||
if (Cmd_Argc() < 2)
|
||||
return;
|
||||
|
|
|
@ -180,8 +180,8 @@ Sys_Init
|
|||
*/
|
||||
void Sys_Init (void)
|
||||
{
|
||||
LARGE_INTEGER PerformanceFreq;
|
||||
unsigned int lowpart, highpart;
|
||||
// LARGE_INTEGER PerformanceFreq;
|
||||
// unsigned int lowpart, highpart;
|
||||
OSVERSIONINFO vinfo;
|
||||
|
||||
#ifndef SERVERONLY
|
||||
|
@ -255,8 +255,8 @@ void Sys_Init (void)
|
|||
void Sys_Error (char *error, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
char text[1024], text2[1024];
|
||||
DWORD dummy;
|
||||
char text[1024];//, text2[1024];
|
||||
// DWORD dummy;
|
||||
|
||||
Host_Shutdown ();
|
||||
|
||||
|
@ -276,8 +276,8 @@ void Sys_Error (char *error, ...)
|
|||
void Sys_Printf (char *fmt, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
char text[1024];
|
||||
DWORD dummy;
|
||||
// char text[1024];
|
||||
// DWORD dummy;
|
||||
|
||||
va_start (argptr,fmt);
|
||||
vprintf (fmt, argptr);
|
||||
|
@ -400,7 +400,7 @@ double Sys_DoubleTime (void)
|
|||
static DWORD starttime;
|
||||
static qboolean first = true;
|
||||
DWORD now;
|
||||
double t;
|
||||
// double t;
|
||||
|
||||
now = timeGetTime();
|
||||
|
||||
|
@ -424,7 +424,7 @@ char *Sys_ConsoleInput (void)
|
|||
static char text[256];
|
||||
static int len;
|
||||
INPUT_RECORD recs[1024];
|
||||
int count;
|
||||
// int count;
|
||||
int i, dummy;
|
||||
int ch, numread, numevents;
|
||||
HANDLE th;
|
||||
|
@ -577,7 +577,7 @@ HWND hwnd_dialog;
|
|||
|
||||
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
MSG msg;
|
||||
// MSG msg;
|
||||
quakeparms_t parms;
|
||||
double time, oldtime, newtime;
|
||||
MEMORYSTATUS lpBuffer;
|
||||
|
|
|
@ -429,7 +429,7 @@ IN_StartupMouse
|
|||
*/
|
||||
void IN_StartupMouse (void)
|
||||
{
|
||||
HDC hdc;
|
||||
// HDC hdc;
|
||||
|
||||
if ( COM_CheckParm ("-nomouse") )
|
||||
return;
|
||||
|
@ -588,7 +588,7 @@ IN_MouseMove
|
|||
void IN_MouseMove (usercmd_t *cmd)
|
||||
{
|
||||
int mx, my;
|
||||
HDC hdc;
|
||||
// HDC hdc;
|
||||
int i;
|
||||
DIDEVICEOBJECTDATA od;
|
||||
DWORD dwElements;
|
||||
|
@ -757,8 +757,8 @@ IN_Accumulate
|
|||
*/
|
||||
void IN_Accumulate (void)
|
||||
{
|
||||
int mx, my;
|
||||
HDC hdc;
|
||||
// int mx, my;
|
||||
// HDC hdc;
|
||||
|
||||
if (mouseactive)
|
||||
{
|
||||
|
@ -797,7 +797,7 @@ IN_StartupJoystick
|
|||
*/
|
||||
void IN_StartupJoystick (void)
|
||||
{
|
||||
int i, numdevs;
|
||||
int /*i,*/ numdevs;
|
||||
JOYCAPS jc;
|
||||
MMRESULT mmr;
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ Interactive line editing and console scrollback
|
|||
void Key_Console (int key)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
char *cmd, *s;
|
||||
// char *cmd, *s;
|
||||
int i;
|
||||
HANDLE th;
|
||||
char *clipText, *textCopied;
|
||||
|
|
|
@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
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 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"
|
||||
|
||||
|
@ -320,6 +320,10 @@ SOURCE=.\r_vars.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\r_view.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\sbar.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -356,10 +360,6 @@ SOURCE=.\vid_win.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\view.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\wad.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
Loading…
Reference in a new issue