diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/intern/dna_genfile.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index 04411880036..8ac500a2e74 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -94,10 +94,6 @@ typedef struct FileData { ListBase *mainlist; ListBase *old_mainlist; /* Used for undo. */ - /* ick ick, used to return - * data through streamglue. - */ - BlendFileData **bfd_r; struct ReportList *reports; } FileData; diff --git a/source/blender/makesdna/intern/dna_genfile.c b/source/blender/makesdna/intern/dna_genfile.c index d4dd34e44d6..70389430ddc 100644 --- a/source/blender/makesdna/intern/dna_genfile.c +++ b/source/blender/makesdna/intern/dna_genfile.c @@ -597,7 +597,7 @@ static bool init_structDNA( /* Calculate 'sdna->pointerlen' */ { - intptr_t nr = DNA_struct_find_nr(sdna, "ListBase"); + const int nr = DNA_struct_find_nr(sdna, "ListBase"); /* should never happen, only with corrupt file for example */ if (UNLIKELY(nr == -1)) { |