Removed bogus checks on unused variable.

This commit is contained in:
Marcus Sundberg 2000-01-18 22:41:06 +00:00
parent c363d72c3c
commit 7f6a114dd9

View file

@ -582,7 +582,6 @@ Sent by server when serverinfo changes
void CL_FullServerinfo_f (void)
{
char *p;
float v;
if (Cmd_Argc() != 2)
{
@ -593,17 +592,13 @@ void CL_FullServerinfo_f (void)
strcpy (cl.serverinfo, Cmd_Argv(1));
if ((p = Info_ValueForKey(cl.serverinfo, "*qf_version")) && *p) {
if (v) {
if (!server_version)
Con_Printf("QuakeForge Version %s Server\n", p);
server_version = strdup(p);
}
if (!server_version)
Con_Printf("QuakeForge Version %s Server\n", p);
server_version = strdup(p);
} else if ((p = Info_ValueForKey(cl.serverinfo, "*version")) && *p) {
if (v) {
if (!server_version)
Con_Printf("Version %s Server\n", p);
server_version = strdup(p);
}
if (!server_version)
Con_Printf("Version %s Server\n", p);
server_version = strdup(p);
}
}