Remove unused variable baseOffset from fsh[]

This commit is contained in:
Zack Middleton 2013-10-26 22:36:09 -05:00
parent 90c98c90a3
commit c69db4a400

View file

@ -275,7 +275,6 @@ typedef struct qfile_us {
typedef struct {
qfile_ut handleFiles;
qboolean handleSync;
int baseOffset;
int fileSize;
int zipFilePos;
qboolean zipFile;
@ -4014,11 +4013,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;