fix -Wextra in Main & Complete

This commit is contained in:
wmayer 2016-09-22 14:24:38 +02:00
parent 49072208ee
commit 4d2ccdfb72
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ struct PyMethodDef FreeCADGui_methods[] = {
"an event loop or showing up any GUI\n"}, "an event loop or showing up any GUI\n"},
{"embedToWindow",FreeCADGui_embedToWindow,METH_VARARGS, {"embedToWindow",FreeCADGui_embedToWindow,METH_VARARGS,
"embedToWindow() -- Embeds the main window into another window\n"}, "embedToWindow() -- Embeds the main window into another window\n"},
{NULL, NULL} /* sentinel */ {NULL, NULL, 0, NULL} /* sentinel */
}; };
static static

View File

@ -50,9 +50,9 @@ CmdCompleteConstraintAxle::CmdCompleteConstraintAxle()
void CmdCompleteConstraintAxle::activated(int iMsg) void CmdCompleteConstraintAxle::activated(int iMsg)
{ {
Q_UNUSED(iMsg);
// load the file with the module // load the file with the module
//Command::doCommand(Command::Gui, "import Complete, CompleteGui"); //Command::doCommand(Command::Gui, "import Complete, CompleteGui");
} }