mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
dead code removal
This commit is contained in:
parent
b9d364d7b7
commit
46ee46fdc6
3 changed files with 0 additions and 26 deletions
|
@ -197,10 +197,6 @@ const char *Cmd_Argsu (int arg);
|
|||
// if arg > argc, so string operations are always safe.
|
||||
|
||||
|
||||
int Cmd_CheckParm (const char *parm);
|
||||
// Returns the position (1 to argc-1) in the command's argument list
|
||||
// where the given parameter apears, or 0 if not present
|
||||
|
||||
int Cmd_Process (void);
|
||||
// Processes all parsed tokens according to the type of buffer
|
||||
// and the settings of each token
|
||||
|
|
|
@ -154,7 +154,6 @@ bi_Cmd_Return (progs_t *pr)
|
|||
Cmd_Return (P_STRING (pr, 0));
|
||||
}
|
||||
|
||||
//Cmd_CheckParm
|
||||
//Cmd_TokenizeString
|
||||
//Cmd_ExecuteString
|
||||
//Cmd_ForwardToServer
|
||||
|
|
|
@ -1771,27 +1771,6 @@ Cmd_CompleteBuildList (const char *partial)
|
|||
return buf;
|
||||
}
|
||||
|
||||
/*
|
||||
Cmd_CheckParm
|
||||
|
||||
Returns the position (1 to argc-1) in the command's argument list
|
||||
where the given parameter apears, or 0 if not present
|
||||
*/
|
||||
int
|
||||
Cmd_CheckParm (const char *parm)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!parm)
|
||||
Sys_Error ("Cmd_CheckParm: NULL");
|
||||
|
||||
for (i = 1; i < Cmd_Argc (); i++)
|
||||
if (!strcasecmp (parm, Cmd_Argv (i)))
|
||||
return i;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Basic command handler functions */
|
||||
|
||||
/* Executes a script as a subroutine */
|
||||
|
|
Loading…
Reference in a new issue