Fix some warnings

This commit is contained in:
SirLynix 2023-02-02 13:28:36 +01:00
parent 88a0bf95ca
commit 35172f5028
4 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@ namespace Nz
return false; return false;
}); });
}, },
[&](std::string_view name) [&](std::string_view name)
{ {
if (physicalPathBase) if (physicalPathBase)

View File

@ -9,7 +9,7 @@ namespace Nz
{ {
ApplicationComponent::~ApplicationComponent() = default; ApplicationComponent::~ApplicationComponent() = default;
void ApplicationComponent::Update(Time elapsedTime) void ApplicationComponent::Update(Time /*elapsedTime*/)
{ {
} }
} }

View File

@ -418,7 +418,7 @@ namespace Nz
m_vertices[index].totalValence++; m_vertices[index].totalValence++;
m_vertices[index].remainingValence++; m_vertices[index].remainingValence++;
m_vertices[index].triIndices.push_back(i / 3); m_vertices[index].triIndices.push_back(SafeCast<int>(i / 3));
} }
m_bestTri = FullScoreRecalculation(); m_bestTri = FullScoreRecalculation();

View File

@ -58,7 +58,7 @@ namespace Nz
return m_attachedSkeleton; return m_attachedSkeleton;
} }
void SharedSkeletonComponent::OnReferenceJointsInvalidated(const Skeleton* skeleton) void SharedSkeletonComponent::OnReferenceJointsInvalidated(const Skeleton* /*skeleton*/)
{ {
m_skeletonJointInvalidated = true; m_skeletonJointInvalidated = true;
} }