diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-27 05:54:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-27 06:21:14 +0300 |
commit | 538a70c9b640789a67a7f2f19fa53e234443f64c (patch) | |
tree | 80dcfde6f7af967aebe0fde4020349aa1fa05e6d | |
parent | c7a6ff0981563295941ffeae2a32ec161a20cf05 (diff) |
Cleanup: unnecessary NULL check
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index ef4295ee955..7a84eb690cd 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -321,12 +321,6 @@ static WriteData *writedata_new(WriteWrap *ww) { WriteData *wd= MEM_callocN(sizeof(*wd), "writedata"); - /* XXX, see note about this in readfile.c, remove - * once we have an xp lock - zr - */ - - if (wd == NULL) return NULL; - wd->sdna = DNA_sdna_from_data(DNAstr, DNAlen, false); wd->ww = ww; |