fix -Wextra in FreeCADGui

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

View File

@@ -455,6 +455,7 @@ void NavigationStyle::setCameraOrientation(const SbRotation& rot, SbBool moveToC
void NavigationStyleP::viewAnimationCB(void * data, SoSensor * sensor)
{
Q_UNUSED(sensor);
NavigationStyle* that = reinterpret_cast<NavigationStyle*>(data);
if (PRIVATE(that)->animationsteps > 0) {
// here the camera rotates from the current rotation to a given
@@ -1494,6 +1495,7 @@ SbBool NavigationStyle::isPopupMenuEnabled(void) const
void NavigationStyle::openPopupMenu(const SbVec2s& position)
{
Q_UNUSED(position);
// ask workbenches and view provider, ...
MenuItem* view = new MenuItem;
Gui::Application::Instance->setupContextMenu("View", view);