fix various warnings

This commit is contained in:
wmayer 2017-02-21 22:51:26 +01:00
parent 3136b42830
commit 97c9174840
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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);
}

View File

@ -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) {