From b7b38443f2e53aa152776a15f1a67afdc0bfaf1c Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 26 Oct 2013 22:36:09 -0500 Subject: Remove unused variable baseOffset from fsh[] --- src/qcommon/files.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/qcommon') diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 0fa49a8a..8d9d832d 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -253,7 +253,6 @@ typedef struct qfile_us { typedef struct { qfile_ut handleFiles; qboolean handleSync; - int baseOffset; int fileSize; int zipFilePos; qboolean zipFile; @@ -3721,11 +3720,6 @@ int FS_FOpenFileByMode( const char *qpath, fileHandle_t *f, fsMode_t mode ) { } if ( *f ) { - if (fsh[*f].zipFile == qtrue) { - fsh[*f].baseOffset = unztell(fsh[*f].handleFiles.file.z); - } else { - fsh[*f].baseOffset = ftell(fsh[*f].handleFiles.file.o); - } fsh[*f].fileSize = r; fsh[*f].streamed = qfalse; -- cgit