Remove unused variable baseOffset from fsh[]
This commit is contained in:
parent
90c98c90a3
commit
c69db4a400
1 changed files with 0 additions and 6 deletions
|
@ -275,7 +275,6 @@ typedef struct qfile_us {
|
||||||
typedef struct {
|
typedef struct {
|
||||||
qfile_ut handleFiles;
|
qfile_ut handleFiles;
|
||||||
qboolean handleSync;
|
qboolean handleSync;
|
||||||
int baseOffset;
|
|
||||||
int fileSize;
|
int fileSize;
|
||||||
int zipFilePos;
|
int zipFilePos;
|
||||||
qboolean zipFile;
|
qboolean zipFile;
|
||||||
|
@ -4014,11 +4013,6 @@ int FS_FOpenFileByMode( const char *qpath, fileHandle_t *f, fsMode_t mode ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( *f ) {
|
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].fileSize = r;
|
||||||
fsh[*f].streamed = qfalse;
|
fsh[*f].streamed = qfalse;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue