From 83e4e650744469947551444b3080669779e71d90 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Nov 2017 03:25:52 +1100 Subject: Cleanup: outdated comment --- source/blender/blenlib/intern/storage.c | 4 ---- 1 file changed, 4 deletions(-) (limited to '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; } } -- cgit v1.2.3