Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-07-26 12:43:51 +0300
committerJacques Lucke <jacques@blender.org>2021-07-26 12:43:51 +0300
commit12afb1995975e4cbe7c9ec82e96c113c9a9198b1 (patch)
treec9fcc66a24d30575338b16d4e01eef0e8e9eadba /source/blender/editors/armature
parent6abf63f463cf124eaeb894c7d728550fca54a239 (diff)
Cleanup: clang tidy
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_backup.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/armature/pose_backup.cc b/source/blender/editors/armature/pose_backup.cc
index 9b2d3e37d98..9c9347309b2 100644
--- a/source/blender/editors/armature/pose_backup.cc
+++ b/source/blender/editors/armature/pose_backup.cc
@@ -38,14 +38,14 @@
using namespace blender::bke;
/* simple struct for storing backup info for one pose channel */
-typedef struct PoseChannelBackup {
+struct PoseChannelBackup {
struct PoseChannelBackup *next, *prev;
struct bPoseChannel *pchan; /* Pose channel this backup is for. */
struct bPoseChannel olddata; /* Backup of pose channel. */
struct IDProperty *oldprops; /* Backup copy (needs freeing) of pose channel's ID properties. */
-} PoseChannelBackup;
+};
struct PoseBackup {
bool is_bone_selection_relevant;
@@ -61,7 +61,7 @@ static PoseBackup *pose_backup_create(const Object *ob,
BoneNameSet backed_up_bone_names;
/* Make a backup of the given pose channel. */
- auto store_animated_pchans = [&](FCurve *, const char *bone_name) {
+ auto store_animated_pchans = [&](FCurve * /* unused */, const char *bone_name) {
if (backed_up_bone_names.contains(bone_name)) {
/* Only backup each bone once. */
return;