More Cppcheck fixes

Former-commit-id: 62ab1caa04543da1a169812bb92a450d44f3aec1
This commit is contained in:
Lynix
2015-06-07 00:21:53 +02:00
parent d1258c2a6d
commit f8682d227b
7 changed files with 41 additions and 28 deletions

View File

@@ -333,6 +333,9 @@ bool NzSkeleton::IsValid() const
NzSkeleton& NzSkeleton::operator=(const NzSkeleton& skeleton)
{
if (this == &skeleton)
return *this;
Destroy();
if (skeleton.m_impl)