mirror of
https://github.com/leozide/leocad.git
synced 2026-09-11 17:13:11 +00:00
Fixed compiler warnings.
This commit is contained in:
+3
-3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user