From 62cf54cc5cb10ba0e82aa2e4bac767942b5e5d48 Mon Sep 17 00:00:00 2001 From: Shai Seger Date: Fri, 27 Oct 2017 21:52:42 +0300 Subject: [PATCH] fix some linux compiler warnings --- src/Mod/Path/PathSimulator/App/VolSim.cpp | 3 +++ src/Mod/Path/PathSimulator/App/VolSim.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathSimulator/App/VolSim.cpp b/src/Mod/Path/PathSimulator/App/VolSim.cpp index 801f100534..5b6ac59736 100644 --- a/src/Mod/Path/PathSimulator/App/VolSim.cpp +++ b/src/Mod/Path/PathSimulator/App/VolSim.cpp @@ -740,6 +740,9 @@ void cSimTool::InitTool() // pos is 0..1 location along the radius of the tool case ROUND: dradius = radius * radius; break; + + case FLAT: + break; } } diff --git a/src/Mod/Path/PathSimulator/App/VolSim.h b/src/Mod/Path/PathSimulator/App/VolSim.h index 5c55aedb10..c1d5cbbdcf 100644 --- a/src/Mod/Path/PathSimulator/App/VolSim.h +++ b/src/Mod/Path/PathSimulator/App/VolSim.h @@ -99,8 +99,8 @@ public: void InitTool(); Type type; - float tipAngle; float radius; + float tipAngle; float dradius; float chamRatio; float GetToolProfileAt(float pos);