Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-10-20 13:30:11 +0300
committerJulian Eisel <julian@blender.org>2021-10-20 13:31:55 +0300
commitf605ce7e9afcdf473ef6cd9180c25f1981846256 (patch)
tree7744680e005a062ee65edc2973bcf422c312837c
parentdd728e15396eadc2d6f8dcb307343003d0050cfb (diff)
Cleanup: Remove unused file-list array info members
-rw-r--r--source/blender/editors/space_file/filelist.c5
-rw-r--r--source/blender/makesdna/DNA_space_types.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index fc502b065f3..ab274fcea62 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -1470,8 +1470,6 @@ static void filelist_direntryarr_free(FileDirEntryArr *array)
#endif
array->nbr_entries = FILEDIR_NBR_ENTRIES_UNSET;
array->nbr_entries_filtered = FILEDIR_NBR_ENTRIES_UNSET;
- array->entry_idx_start = -1;
- array->entry_idx_end = -1;
}
static void filelist_intern_entry_free(FileListInternEntry *entry)
@@ -3582,8 +3580,7 @@ static void filelist_readjob_main_assets(FileListReadJob *job_params,
BLI_movelisttolist(&filelist->filelist.entries, &tmp_entries);
filelist->filelist.nbr_entries += nbr_entries;
- filelist->filelist.nbr_entries_filtered = filelist->filelist.entry_idx_start =
- filelist->filelist.entry_idx_end = -1;
+ filelist->filelist.nbr_entries_filtered = -1;
}
}
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index a75f52a5036..d0b95d5d1d3 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1150,7 +1150,6 @@ typedef struct FileDirEntryArr {
ListBase entries;
int nbr_entries;
int nbr_entries_filtered;
- int entry_idx_start, entry_idx_end;
/** FILE_MAX. */
char root[1024];