diff options
Diffstat (limited to 'src/qcommon/cmd.c')
-rw-r--r-- | src/qcommon/cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qcommon/cmd.c b/src/qcommon/cmd.c index 99a80fd7..a67108f3 100644 --- a/src/qcommon/cmd.c +++ b/src/qcommon/cmd.c @@ -270,7 +270,6 @@ void Cmd_Exec_f( void ) { char *c; void *v; } f; - int len; char filename[MAX_QPATH]; if (Cmd_Argc () != 2) { @@ -280,7 +279,7 @@ void Cmd_Exec_f( void ) { Q_strncpyz( filename, Cmd_Argv(1), sizeof( filename ) ); COM_DefaultExtension( filename, sizeof( filename ), ".cfg" ); - len = FS_ReadFile( filename, &f.v); + FS_ReadFile( filename, &f.v); if (!f.c) { Com_Printf ("couldn't exec %s\n",Cmd_Argv(1)); return; |