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-07-30 15:33:39 +0300
committerJulian Eisel <julian@blender.org>2021-07-30 15:34:33 +0300
commit4647ffd918225452f25bd865a386e292ba7ebac8 (patch)
tree2469d79b50823da3b114f48231427f8b60b26719 /source/blender/editors/space_file/filelist.c
parentc8b7745172d96cd5ee6aaa431485f93eb9512696 (diff)
Cleanup: Remove unused file description storage
This isn't used at all in the current File and Asset Browser design.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 93c27e1fe90..630c9aed157 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -1372,9 +1372,6 @@ static void filelist_entry_clear(FileDirEntry *entry)
if (entry->name && ((entry->flags & FILE_ENTRY_NAME_FREE) != 0)) {
MEM_freeN(entry->name);
}
- if (entry->description) {
- MEM_freeN(entry->description);
- }
if (entry->relpath) {
MEM_freeN(entry->relpath);
}
@@ -1952,7 +1949,6 @@ static FileDirEntry *filelist_file_create_entry(FileList *filelist, const int in
else {
ret->name = entry->name;
}
- ret->description = BLI_strdupcat(filelist->filelist.root, entry->relpath);
ret->uid = entry->uid;
ret->blentype = entry->blentype;
ret->typeflag = entry->typeflag;