Fixed compiler warnings.

This commit is contained in:
Leonardo Zide
2016-12-01 23:09:14 -08:00
parent 672eb5e35d
commit 8152f99ec4
2 changed files with 5 additions and 7 deletions
+3 -3
View File
@@ -59,8 +59,8 @@ void lcSynthInit()
lcSynthInfo::lcSynthInfo(lcSynthType Type, float Length, int NumSections, PieceInfo* Info)
: mPieceInfo(Info), mType(Type), mLength(Length), mNumSections(NumSections)
{
float EdgeSectionLength;
float MidSectionLength;
float EdgeSectionLength = 0.0f;
float MidSectionLength = 0.0f;
switch (mType)
{
@@ -115,7 +115,7 @@ void lcSynthInfo::GetDefaultControlPoints(lcArray<lcPieceControlPoint>& ControlP
{
ControlPoints.SetSize(2);
float Scale;
float Scale = 1.0f;
switch (mType)
{