diff --git a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h index 02a2494ef5..223abbe591 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h +++ b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h @@ -66,7 +66,7 @@ struct GuiItem unsigned int flags {}; bool mouseOver {}; TextureItem texItem {}; - QString toolTip; + QString toolTip {}; int posx() { diff --git a/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp b/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp index 8794065d50..4893cb951f 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp @@ -32,7 +32,7 @@ namespace MillSim MillSimulation::MillSimulation() { - mCurMotion = {eNop, -1, 0, 0, 0, 0, 0, 0, 0}; + mCurMotion = {eNop, -1, 0, 0, 0, 0, 0, 0, 0, '\0', 0.0}; guiDisplay.SetMillSimulator(this); }