FreeCAD: master ea67e77e

Author Committer Branch Timestamp Parent
chennes wwmayer master 2021-02-08 21:46:18 master b76fe294
Changeset [PD] Add missing ctor variable init (Coverity)

The "angle" variable was not being initialized in any of the
constructors for the CutDimensionSet, and nothing was being initialized
by the default constructor. This commit adds angle as an optional final
argument to the parameterized constructors, defaulting to 0.0, and adds
default values to the default constructor using the first of each enum
and 0.0 for the angle. The default constructor is required elsewhere in
the code so cannot be trivially removed. Issue identified by Coverity.
mod - src/Mod/PartDesign/App/FeatureHole.cpp Diff File
mod - src/Mod/PartDesign/App/FeatureHole.h Diff File