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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-05 10:38:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-05 10:38:43 +0400
commitfcc807f2948b6a88af573f63b9bb5aaeb14f8ca2 (patch)
treea0603804fe2128ec3ca0aec3e2cd65d3fc5be40c /source/blender/blenlib/intern/storage.c
parent384948908afd5567d6c730a8045a368e8c08e436 (diff)
code cleanup: remove unused member of direntry struct, also add include for building on osx.
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r--source/blender/blenlib/intern/storage.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index 22558fca1c5..cee92888cce 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -434,9 +434,6 @@ static void bli_adddirstrings(struct BuildDirCtx *dir_ctx)
BLI_snprintf(buf, sizeof(buf), "%s %s %s %7s %s %s %10s %s",
file->mode1, file->mode2, file->mode3, file->owner,
file->date, file->time, size, file->relname);
-
- file->string = BLI_strdup(buf);
- /* FIXME: not actually used anywhere, why bother to set it up? */
}
}
@@ -480,8 +477,6 @@ void BLI_free_filelist(struct direntry *filelist, unsigned int nrentries)
MEM_freeN(entry->relname);
if (entry->path)
MEM_freeN(entry->path);
- if (entry->string)
- MEM_freeN(entry->string);
/* entry->poin assumed not to point to anything needing freeing here */
}