Commit 86c73b9b authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed unused variable and fixed other cppcheck warning

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0a435845
......@@ -1017,7 +1017,6 @@ void SkeletonT<PointT>::updateFromGlobal(unsigned int _idJoint)
template<typename PointT>
void SkeletonT<PointT>::insertJoint(typename SkeletonT<PointT>::Joint *_pChild, typename SkeletonT<PointT>::Joint *_pInsert)
std::size_t i = 0;
if (!_pChild || !_pChild->parent() || !_pInsert)
......@@ -186,7 +186,7 @@ public:
void removeAnimation(const AnimationHandle &_hAni);
void clearAnimations();
void replaceAnimationName(const std::string _strOld, const std::string _strNew) {
void replaceAnimationName(const std::string& _strOld, const std::string& _strNew) {
std::map<std::string,unsigned int>::iterator f = names_.find(_strOld);
if(f != names_.end()) {
unsigned int c = f->second;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment