Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -189,7 +189,7 @@ Box::Box()
primitiveType = FeaturePrimitive::Box;
}
App::DocumentObjectExecReturn* Box::execute(void)
App::DocumentObjectExecReturn* Box::execute()
{
double L = Length.getValue();
double W = Width.getValue();
@@ -242,7 +242,7 @@ Cylinder::Cylinder()
primitiveType = FeaturePrimitive::Cylinder;
}
App::DocumentObjectExecReturn* Cylinder::execute(void)
App::DocumentObjectExecReturn* Cylinder::execute()
{
// Build a cylinder
if (Radius.getValue() < Precision::Confusion())
@@ -299,7 +299,7 @@ Sphere::Sphere()
primitiveType = FeaturePrimitive::Sphere;
}
App::DocumentObjectExecReturn* Sphere::execute(void)
App::DocumentObjectExecReturn* Sphere::execute()
{
// Build a sphere
if (Radius.getValue() < Precision::Confusion())
@@ -349,7 +349,7 @@ Cone::Cone()
primitiveType = FeaturePrimitive::Cone;
}
App::DocumentObjectExecReturn* Cone::execute(void)
App::DocumentObjectExecReturn* Cone::execute()
{
if (Radius1.getValue() < 0.0)
return new App::DocumentObjectExecReturn("Radius of cone cannot be negative");
@@ -411,7 +411,7 @@ Ellipsoid::Ellipsoid()
primitiveType = FeaturePrimitive::Ellipsoid;
}
App::DocumentObjectExecReturn* Ellipsoid::execute(void)
App::DocumentObjectExecReturn* Ellipsoid::execute()
{
// Build a sphere
if (Radius1.getValue() < Precision::Confusion())
@@ -496,7 +496,7 @@ Torus::Torus()
primitiveType = FeaturePrimitive::Torus;
}
App::DocumentObjectExecReturn* Torus::execute(void)
App::DocumentObjectExecReturn* Torus::execute()
{
if (Radius1.getValue() < Precision::Confusion())
return new App::DocumentObjectExecReturn("Radius of torus too small");
@@ -560,7 +560,7 @@ Prism::Prism()
primitiveType = FeaturePrimitive::Prism;
}
App::DocumentObjectExecReturn* Prism::execute(void)
App::DocumentObjectExecReturn* Prism::execute()
{
// Build a prism
if (Polygon.getValue() < 3)
@@ -629,7 +629,7 @@ Wedge::Wedge()
primitiveType = FeaturePrimitive::Wedge;
}
App::DocumentObjectExecReturn* Wedge::execute(void)
App::DocumentObjectExecReturn* Wedge::execute()
{
double xmin = Xmin.getValue();
double ymin = Ymin.getValue();