fix -Wextra in Main & Complete
This commit is contained in:
parent
49072208ee
commit
4d2ccdfb72
|
@ -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
|
||||||
|
|
|
@ -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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user