diff --git a/code/FBXConverter.cpp b/code/FBXConverter.cpp index 383ac65f0..6c22f0792 100644 --- a/code/FBXConverter.cpp +++ b/code/FBXConverter.cpp @@ -2525,7 +2525,7 @@ void Converter::GenerateNodeAnimations( std::vector& node_anims, const std::string& chain_name = NameTransformationChainNode( fixed_name, comp ); - aiNodeAnim* na; + aiNodeAnim* na = nullptr; switch ( comp ) { case TransformationComp_Rotation: