[Bf-blender-cvs] [d91b7625cf4] functions: fix warning
Jacques Lucke
noreply at git.blender.org
Tue Dec 10 18:19:27 CET 2019
Commit: d91b7625cf4a9116259eaa0b8769d6eb3ac219c8
Author: Jacques Lucke
Date: Tue Dec 10 18:19:23 2019 +0100
Branches: functions
https://developer.blender.org/rBd91b7625cf4a9116259eaa0b8769d6eb3ac219c8
fix warning
===================================================================
M source/blender/simulations/bparticles/node_frontend.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/node_frontend.cpp b/source/blender/simulations/bparticles/node_frontend.cpp
index e60b684091f..8830e2847e1 100644
--- a/source/blender/simulations/bparticles/node_frontend.cpp
+++ b/source/blender/simulations/bparticles/node_frontend.cpp
@@ -706,7 +706,7 @@ static void PARSE_custom_emitter(XNodeInfluencesBuilder &builder)
for (const XInputSocket *socket : data_inputs) {
StringRef attribute_name = socket->name();
attribute_names.append(attribute_name);
- const CPPType *attribute_type;
+ const CPPType *attribute_type = nullptr;
FN::MFDataType data_type = builder.data_type_of_input(*socket);
if (data_type.is_single()) {
More information about the Bf-blender-cvs
mailing list