Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/intern/rna_access_compare_override.c')
-rw-r--r--source/blender/makesrna/intern/rna_access_compare_override.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index 5974788884e..aea4467c162 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -87,7 +87,7 @@ static ID *rna_property_override_property_real_id_owner(Main *bmain,
owner_id = RNA_find_real_ID_and_path(bmain, id, &rna_path_prefix);
break;
default:
- BLI_assert(0);
+ BLI_assert_unreachable();
}
}
@@ -354,7 +354,7 @@ static int rna_property_override_diff(Main *bmain,
if (is_array_a != is_array_b) {
/* Should probably never happen actually... */
- BLI_assert(0);
+ BLI_assert_unreachable();
return is_array_a ? 1 : -1;
}
@@ -400,7 +400,7 @@ static int rna_property_override_diff(Main *bmain,
rna_path ? rna_path : prop_a->identifier,
!prop_a->is_idprop,
!prop_b->is_idprop);
- BLI_assert(0);
+ BLI_assert_unreachable();
return 1;
}
@@ -491,7 +491,7 @@ static bool rna_property_override_operation_store(Main *bmain,
op->rna_path,
prop_local->magic == RNA_MAGIC,
prop_reference->magic == RNA_MAGIC);
- BLI_assert(0);
+ BLI_assert_unreachable();
return changed;
}
@@ -580,7 +580,7 @@ static bool rna_property_override_operation_apply(Main *bmain,
prop_dst->identifier,
prop_dst->magic == RNA_MAGIC,
prop_src->magic == RNA_MAGIC);
- BLI_assert(0);
+ BLI_assert_unreachable();
return false;
}