+ fix clang warnings

This commit is contained in:
wmayer
2015-10-02 23:32:01 +02:00
parent 2acb38daa7
commit 7548e4cb30
5 changed files with 35 additions and 36 deletions

View File

@@ -600,8 +600,6 @@ Matrix4<Real>& Matrix4<Real>::operator*= (Real fScalar)
template <class Real>
Matrix4<Real>& Matrix4<Real>::operator/= (Real fScalar)
{
int i;
if (fScalar != (Real)0.0)
{
Real fInvScalar = ((Real)1.0)/fScalar;

View File

@@ -705,7 +705,7 @@ void TRational<N>::ConvertTo (double& rdValue) const
return;
}
unsigned int auiResult[2], uiSave = 0;
unsigned int auiResult[2];
// compute the sign of the number
int iS0 = m_kNumer.GetSign(), iS1 = m_kDenom.GetSign();