From David Callu, warning fixes and removal of spaces at end of lines.

This commit is contained in:
Robert Osfield
2013-06-28 12:00:43 +00:00
parent d82768417d
commit 097aedf23c
100 changed files with 496 additions and 428 deletions

View File

@@ -154,6 +154,9 @@ bool DebugShadowMap::ViewData::DebugBoundingBox
<< std::endl;
bb_prev = bb;
#else
OSG_UNUSED(bb);
OSG_UNUSED(name);
#endif
return result;
}
@@ -192,6 +195,9 @@ bool DebugShadowMap::ViewData::DebugPolytope
}
p_prev = p;
#else
OSG_UNUSED(p);
OSG_UNUSED(name);
#endif
return result;
}
@@ -215,6 +221,9 @@ bool DebugShadowMap::ViewData::DebugMatrix
<<"[ " << m(3,0) << " " << m(3,1) << " " << m(3,2) << " " << m(3,3) << " ] " << std::endl;
m_prev = m;
#else
OSG_UNUSED(m);
OSG_UNUSED(name);
#endif
return result;
}