From e0aa405e761c499f6cc959b9253b545a50f43702 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 30 Jul 2002 01:56:07 +0000 Subject: [PATCH] remove some dead code --- libs/util/cmd.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libs/util/cmd.c b/libs/util/cmd.c index 353111fac..1a2a3f552 100644 --- a/libs/util/cmd.c +++ b/libs/util/cmd.c @@ -2490,16 +2490,6 @@ Cmd_Threadstats_f (void) Sys_Printf("%li\n", t->id); } -/* Prints hash statistsics */ -void -Cmd_Hash_Stats_f (void) -{ - Sys_Printf ("alias hash table:\n"); - Hash_Stats (cmd_alias_hash); - Sys_Printf ("command hash table:\n"); - Hash_Stats (cmd_hash); -} - /* Cmd_Init_Hash @@ -2559,8 +2549,6 @@ Cmd_Init (void) Cmd_AddCommand ("killthread", Cmd_Killthread_f, "Kills thread with id $1"); Cmd_AddCommand ("threadstats", Cmd_Threadstats_f, "Shows statistics about threads"); - //Cmd_AddCommand ("cmd_hash_stats", Cmd_Hash_Stats_f, "Display statistics " - // "alias and command hash tables"); cmd_warncmd = Cvar_Get ("cmd_warncmd", "0", CVAR_NONE, NULL, "Toggles the " "display of error messages for unknown commands"); cmd_maxloop = Cvar_Get ("cmd_maxloop", "0", CVAR_NONE, NULL, "Controls the "