diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-10-26 22:36:09 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:36 +0100 |
commit | b7b38443f2e53aa152776a15f1a67afdc0bfaf1c (patch) | |
tree | dd7a3fd4655bfa2e7ada914d6079a8d98eb2fe33 /src/qcommon | |
parent | bcb506232417318b03f96dc8a773d0c8d5b1bcba (diff) |
Remove unused variable baseOffset from fsh[]
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/files.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; |