summaryrefslogtreecommitdiff
path: root/scene/resources/bone_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/bone_map.cpp')
-rw-r--r--scene/resources/bone_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/bone_map.cpp b/scene/resources/bone_map.cpp
index dfaf82f36a..5698e61004 100644
--- a/scene/resources/bone_map.cpp
+++ b/scene/resources/bone_map.cpp
@@ -93,7 +93,7 @@ void BoneMap::set_skeleton_bone_name(StringName p_profile_bone_name, const Strin
}
StringName BoneMap::find_profile_bone_name(StringName p_skeleton_bone_name) const {
- StringName profile_bone_name = StringName();
+ StringName profile_bone_name;
HashMap<StringName, StringName>::ConstIterator E = bone_map.begin();
while (E) {
if (E->value == p_skeleton_bone_name) {