diff --git a/src/Main/FreeCADGuiPy.cpp b/src/Main/FreeCADGuiPy.cpp index 08dc6423b8..37f7ae34c5 100644 --- a/src/Main/FreeCADGuiPy.cpp +++ b/src/Main/FreeCADGuiPy.cpp @@ -238,7 +238,7 @@ struct PyMethodDef FreeCADGui_methods[] = { "an event loop or showing up any GUI\n"}, {"embedToWindow",FreeCADGui_embedToWindow,METH_VARARGS, "embedToWindow() -- Embeds the main window into another window\n"}, - {NULL, NULL} /* sentinel */ + {NULL, NULL, 0, NULL} /* sentinel */ }; static diff --git a/src/Mod/Complete/Gui/Command.cpp b/src/Mod/Complete/Gui/Command.cpp index 03a6f239e4..0073df44ca 100644 --- a/src/Mod/Complete/Gui/Command.cpp +++ b/src/Mod/Complete/Gui/Command.cpp @@ -50,9 +50,9 @@ CmdCompleteConstraintAxle::CmdCompleteConstraintAxle() void CmdCompleteConstraintAxle::activated(int iMsg) { + Q_UNUSED(iMsg); // load the file with the module //Command::doCommand(Command::Gui, "import Complete, CompleteGui"); - }