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

@@ -70,13 +70,15 @@ MacroManager::~MacroManager()
void MacroManager::OnChange(Base::Subject<const char*> &rCaller, const char * sReason)
{
(void)rCaller;
(void)sReason;
this->recordGui = this->params->GetBool("RecordGui", true);
this->guiAsComment = this->params->GetBool("GuiAsComment", true);
this->scriptToPyConsole = this->params->GetBool("ScriptToPyConsole", true);
this->localEnv = this->params->GetBool("LocalEnvironment", true);
}
void MacroManager::open(MacroType eType,const char *sName)
void MacroManager::open(MacroType eType, const char *sName)
{
// check
assert(!this->openMacro);
@@ -227,8 +229,10 @@ namespace Gui {
};
}
void MacroManager::run(MacroType eType,const char *sName)
void MacroManager::run(MacroType eType, const char *sName)
{
Q_UNUSED(eType);
try {
ParameterGrp::handle hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("OutputWindow");