diff --git a/src/Mod/Part/Gui/SoBrepFaceSet.cpp b/src/Mod/Part/Gui/SoBrepFaceSet.cpp index 538dce86fca2..ba10b11290b6 100644 --- a/src/Mod/Part/Gui/SoBrepFaceSet.cpp +++ b/src/Mod/Part/Gui/SoBrepFaceSet.cpp @@ -1013,7 +1013,9 @@ void SoBrepFaceSet::renderShape(SoGLRenderAction * action, // TODO FINISHING THE COLOR SUPPORT ! if (!PRIVATE(this)->vboLoaded || PRIVATE(this)->updateVbo) { +#ifdef FC_OS_WIN32 const cc_glglue * glue = cc_glglue_instance(action->getCacheContext()); +#endif if (PRIVATE(this)->updateVbo && PRIVATE(this)->vboLoaded) { // TODO // We must remember the buffer size ... If it has to be extended we must diff --git a/src/Mod/Robot/App/kdl_cp/jntarray.cpp b/src/Mod/Robot/App/kdl_cp/jntarray.cpp index 02358113dbd3..c931e5ae7d70 100644 --- a/src/Mod/Robot/App/kdl_cp/jntarray.cpp +++ b/src/Mod/Robot/App/kdl_cp/jntarray.cpp @@ -59,13 +59,13 @@ namespace KDL double JntArray::operator()(unsigned int i,unsigned int j)const { - assert(j==0); + (void)j;assert(j==0); return data(i); } double& JntArray::operator()(unsigned int i,unsigned int j) { - assert(j==0); + (void)j;assert(j==0); return data(i); } diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index e24c54fc3dcd..fc19c97795b9 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -3455,6 +3455,7 @@ int SketchObject::exposeInternalGeometry(int GeoId) } } + Q_UNUSED(isfirstweightconstrained); // constraint the first weight to allow for seamless weight modification and proper visualization /*if(!isfirstweightconstrained) {