Skip to content

Commit

Permalink
[cpp] Fix local var hidden warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Apr 9, 2024
1 parent f1d6515 commit f07d4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-cpp/spine-cpp/src/spine/SkeletonJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ Animation *SkeletonJson::readAnimation(Json *root, SkeletonData *skeletonData) {
timelines.add(readTimeline(timelineMap->_child, timeline, 0, 1));
} else if (strcmp(timelineMap->_name, "inherit") == 0) {
InheritTimeline *timeline = new (__FILE__, __LINE__) InheritTimeline(frames, boneIndex);
Json *keyMap = timelineMap->_child;
keyMap = timelineMap->_child;
for (frame = 0;; frame++) {
float time = Json::getFloat(keyMap, "time", 0);
const char *value = Json::getString(keyMap, "value", "normal");
Expand Down

0 comments on commit f07d4c3

Please sign in to comment.