Browse Source

filesystem: remove some really unused variables

pull/2/head
Alibek Omarov 12 months ago
parent
commit
3f724b6b17
  1. 1
      filesystem/dir.c
  2. 2
      filesystem/pak.c
  3. 2
      filesystem/zip.c

1
filesystem/dir.c

@ -449,7 +449,6 @@ static void FS_Search_DIR( searchpath_t *search, stringlist_t *list, const char
static int FS_FileTime_DIR( searchpath_t *search, const char *filename ) static int FS_FileTime_DIR( searchpath_t *search, const char *filename )
{ {
int time;
char path[MAX_SYSPATH]; char path[MAX_SYSPATH];
Q_snprintf( path, sizeof( path ), "%s%s", search->filename, filename ); Q_snprintf( path, sizeof( path ), "%s%s", search->filename, filename );

2
filesystem/pak.c

@ -334,7 +334,7 @@ searchpath_t *FS_AddPak_Fullpath( const char *pakfile, int flags )
{ {
searchpath_t *search; searchpath_t *search;
pack_t *pak; pack_t *pak;
int i, errorcode = PAK_LOAD_COULDNT_OPEN; int errorcode = PAK_LOAD_COULDNT_OPEN;
pak = FS_LoadPackPAK( pakfile, &errorcode ); pak = FS_LoadPackPAK( pakfile, &errorcode );

2
filesystem/zip.c

@ -668,7 +668,7 @@ searchpath_t *FS_AddZip_Fullpath( const char *zipfile, int flags )
{ {
searchpath_t *search; searchpath_t *search;
zip_t *zip; zip_t *zip;
int i, errorcode = ZIP_LOAD_COULDNT_OPEN; int errorcode = ZIP_LOAD_COULDNT_OPEN;
zip = FS_LoadZip( zipfile, &errorcode ); zip = FS_LoadZip( zipfile, &errorcode );

Loading…
Cancel
Save