[Bf-blender-cvs] [665657812d5] master: Cleanup: quiet asan warning because of uninitialized variable
Jacques Lucke
noreply at git.blender.org
Sun Oct 24 18:20:18 CEST 2021
Commit: 665657812d5d0ab37e72ec732102dbc9f4d34b90
Author: Jacques Lucke
Date: Sun Oct 24 18:20:06 2021 +0200
Branches: master
https://developer.blender.org/rB665657812d5d0ab37e72ec732102dbc9f4d34b90
Cleanup: quiet asan warning because of uninitialized variable
===================================================================
M source/blender/blenkernel/BKE_attribute_access.hh
===================================================================
diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh
index 4a1c29badb4..38f5497ed92 100644
--- a/source/blender/blenkernel/BKE_attribute_access.hh
+++ b/source/blender/blenkernel/BKE_attribute_access.hh
@@ -208,7 +208,7 @@ class OutputAttribute {
private:
GVMutableArrayPtr varray_;
- AttributeDomain domain_;
+ AttributeDomain domain_ = ATTR_DOMAIN_AUTO;
SaveFn save_;
std::unique_ptr<fn::GVMutableArray_GSpan> optional_span_varray_;
bool ignore_old_values_ = false;
More information about the Bf-blender-cvs
mailing list