[Bf-blender-cvs] [83e4e650744] master: Cleanup: outdated comment
Campbell Barton
noreply at git.blender.org
Sat Nov 18 17:37:07 CET 2017
Commit: 83e4e650744469947551444b3080669779e71d90
Author: Campbell Barton
Date: Sun Nov 19 03:25:52 2017 +1100
Branches: master
https://developer.blender.org/rB83e4e650744469947551444b3080669779e71d90
Cleanup: outdated comment
===================================================================
M source/blender/blenlib/intern/storage.c
===================================================================
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index a48c8b074dd..e31659c35d9 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -389,11 +389,7 @@ LinkNode *BLI_file_read_as_lines(const char *name)
for (i = 0; i <= size; i++) {
if (i == size || buf[i] == '\n') {
char *line = BLI_strdupn(&buf[last], i - last);
-
BLI_linklist_append(&lines, line);
- /* faster to build singly-linked list in reverse order */
- /* alternatively, could process buffer in reverse order so
- * list ends up right way round to start with */
last = i + 1;
}
}
More information about the Bf-blender-cvs
mailing list