Commit: 538a70c9b640789a67a7f2f19fa53e234443f64c
Author: Campbell Barton
Date:   Mon Jun 27 12:54:56 2016 +1000
Branches: master
https://developer.blender.org/rB538a70c9b640789a67a7f2f19fa53e234443f64c

Cleanup: unnecessary NULL check

===================================================================

M       source/blender/blenloader/intern/writefile.c

===================================================================

diff --git a/source/blender/blenloader/intern/writefile.c 
b/source/blender/blenloader/intern/writefile.c
index ef4295e..7a84eb6 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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to