Cleanup: outdated comment
authorCampbell Barton <ideasman42@gmail.com>
Sat, 18 Nov 2017 16:25:52 +0000 (03:25 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 18 Nov 2017 16:25:52 +0000 (03:25 +1100)
source/blender/blenlib/intern/storage.c

index a48c8b074dd1596db8788b168f2e13eca28e3a78..e31659c35d910ea2488f4cd0c3ee93760d9ef195 100644 (file)
@@ -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;
                        }
                }