From 5e3d74c8f95ddc87c6c6dfadc70da6a5c0e20a7a Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Wed, 3 Aug 2005 21:48:18 +0000 Subject: [PATCH] Removed unused cachedir variable. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1193 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/quakedef.h | 1 - engine/client/sys_linux.c | 3 --- engine/client/sys_sdl.c | 1 - engine/client/sys_win.c | 1 - engine/server/qwsvdef.h | 1 - engine/server/sv_sys_win.c | 1 - 6 files changed, 8 deletions(-) diff --git a/engine/client/quakedef.h b/engine/client/quakedef.h index 7e2b9fae2..a7f07f026 100644 --- a/engine/client/quakedef.h +++ b/engine/client/quakedef.h @@ -188,7 +188,6 @@ extern "C" { typedef struct quakeparms_s { char *basedir; - char *cachedir; // for development over ISDN lines int argc; char **argv; void *membase; diff --git a/engine/client/sys_linux.c b/engine/client/sys_linux.c index 04e951ecb..3f23c94d9 100644 --- a/engine/client/sys_linux.c +++ b/engine/client/sys_linux.c @@ -50,7 +50,6 @@ int noconinput = 0; int nostdout = 0; char *basedir = "."; -char *cachedir = "/tmp"; qboolean Sys_InitTerminal (void) //we either have one or we don't. { @@ -401,8 +400,6 @@ int main (int c, char **v) parms.membase = malloc (parms.memsize); parms.basedir = basedir; -// caching is disabled by default, use -cachedir to enable -// parms.cachedir = cachedir; noconinput = COM_CheckParm("-noconinput"); if (!noconinput) diff --git a/engine/client/sys_sdl.c b/engine/client/sys_sdl.c index 1ea456061..d211f21a1 100644 --- a/engine/client/sys_sdl.c +++ b/engine/client/sys_sdl.c @@ -210,7 +210,6 @@ int main(int argc, char **argv) parms.argv = argv; parms.basedir = "."; - parms.cachedir = NULL; parms.argc = argc; parms.argv = argv; diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index 33526deaf..b47200a03 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -1015,7 +1015,6 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin cwd[Q_strlen(cwd)-1] = 0; parms.basedir = cwd; - parms.cachedir = NULL; parms.argc = com_argc; parms.argv = com_argv; diff --git a/engine/server/qwsvdef.h b/engine/server/qwsvdef.h index badf7c841..870b03d0d 100644 --- a/engine/server/qwsvdef.h +++ b/engine/server/qwsvdef.h @@ -71,7 +71,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. typedef struct quakeparms_s { char *basedir; - char *cachedir; // for development over ISDN lines int argc; char **argv; void *membase; diff --git a/engine/server/sv_sys_win.c b/engine/server/sv_sys_win.c index a6f539ca5..fc7cabc90 100644 --- a/engine/server/sv_sys_win.c +++ b/engine/server/sv_sys_win.c @@ -656,7 +656,6 @@ void StartQuakeServer(void) Sys_Error("Insufficient memory.\n"); parms.basedir = "."; - parms.cachedir = NULL; SV_Init (&parms);