From: Simon McVittie Date: Fri, 24 Feb 2012 09:43:13 +0000 Subject: FS_GamePureChecksum: remove, never called Origin: OpenArena --- code/qcommon/files.c | 25 ------------------------- code/qcommon/qcommon.h | 3 --- 2 files changed, 0 insertions(+), 28 deletions(-) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index ce525cf..e2db430 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -3439,31 +3439,6 @@ static void FS_CheckPak0( void ) /* ===================== -FS_GamePureChecksum - -Returns the checksum of the pk3 from which the server loaded the qagame.qvm -===================== -*/ -const char *FS_GamePureChecksum( void ) { - static char info[MAX_STRING_TOKENS]; - searchpath_t *search; - - info[0] = 0; - - for ( search = fs_searchpaths ; search ; search = search->next ) { - // is the element a pak file? - if ( search->pack ) { - if (search->pack->referenced & FS_QAGAME_REF) { - Com_sprintf(info, sizeof(info), "%d", search->pack->checksum); - } - } - } - - return info; -} - -/* -===================== FS_LoadedPakChecksums Returns a space separated string containing the checksums of all loaded pk3 files. diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index ee5c714..22e2d63 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -700,9 +700,6 @@ int FS_Seek( fileHandle_t f, long offset, int origin ); qboolean FS_FilenameCompare( const char *s1, const char *s2 ); -const char *FS_GamePureChecksum( void ); -// Returns the checksum of the pk3 from which the server loaded the qagame.qvm - const char *FS_LoadedPakNames( void ); const char *FS_LoadedPakChecksums( void ); const char *FS_LoadedPakPureChecksums( void );