[Bf-blender-cvs] [eae4e225183] master: Cleanup: Remove redundant null check

Hans Goudey noreply at git.blender.org
Fri Aug 27 21:33:14 CEST 2021


Commit: eae4e225183991109a014b88775744187b8a77e3
Author: Hans Goudey
Date:   Fri Aug 27 14:33:06 2021 -0500
Branches: master
https://developer.blender.org/rBeae4e225183991109a014b88775744187b8a77e3

Cleanup: Remove redundant null check

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

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

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

diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index 0253316dc3a..2456b22f046 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -252,9 +252,6 @@ static void do_versions_idproperty_ui_data(Main *bmain)
   ID *id;
   FOREACH_MAIN_ID_BEGIN (bmain, id) {
     IDProperty *idprop_group = IDP_GetProperties(id, false);
-    if (idprop_group == NULL) {
-      continue;
-    }
     version_idproperty_ui_data(idprop_group);
   }
   FOREACH_MAIN_ID_END;



More information about the Bf-blender-cvs mailing list