Skip to content

Commit

Permalink
fix various warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 21, 2017
1 parent 3136b42 commit 97c9174
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Part/Gui/SoBrepFaceSet.cpp
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Robot/App/kdl_cp/jntarray.cpp
Expand Up @@ -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);
}

Expand Down
1 change: 1 addition & 0 deletions src/Mod/Sketcher/App/SketchObject.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 97c9174

Please sign in to comment.