fix -Wextra in FreeCADGui

This commit is contained in:
wmayer
2016-09-21 20:54:52 +02:00
parent f50e5a552b
commit 1e6dcabefc
106 changed files with 882 additions and 496 deletions

View File

@@ -218,11 +218,11 @@ void SoFCBoundingBox::GLRender (SoGLRenderAction *action)
state->pop();
}
void SoFCBoundingBox::generatePrimitives (SoAction *action)
void SoFCBoundingBox::generatePrimitives (SoAction */*action*/)
{
}
void SoFCBoundingBox::computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
void SoFCBoundingBox::computeBBox (SoAction */*action*/, SbBox3f &box, SbVec3f &center)
{
center = (minBounds.getValue() + maxBounds.getValue()) / 2.0f;
box.setBounds(minBounds.getValue(), maxBounds.getValue());