Unreachable code, fixed compiler warning (#271)

* Unreachable code, fixed compiler warning

* Update simd8f.h
This commit is contained in:
Jan Rüegg 2016-10-05 16:57:01 +02:00 committed by Davis E. King
parent fc8a335f13
commit 1e53e779fb

View File

@ -167,7 +167,7 @@ namespace dlib
#endif
}
inline simd8f& operator+= (simd8f& lhs, const simd8f& rhs)
{ return lhs = lhs + rhs; return lhs;}
{ lhs = lhs + rhs; return lhs; }
// ----------------------------------------------------------------------------------------
@ -181,7 +181,7 @@ namespace dlib
#endif
}
inline simd8f& operator-= (simd8f& lhs, const simd8f& rhs)
{ return lhs = lhs - rhs; return lhs;}
{ lhs = lhs - rhs; return lhs; }
// ----------------------------------------------------------------------------------------
@ -195,7 +195,7 @@ namespace dlib
#endif
}
inline simd8f& operator*= (simd8f& lhs, const simd8f& rhs)
{ return lhs = lhs * rhs; return lhs;}
{ lhs = lhs * rhs; return lhs; }
// ----------------------------------------------------------------------------------------
@ -209,7 +209,7 @@ namespace dlib
#endif
}
inline simd8f& operator/= (simd8f& lhs, const simd8f& rhs)
{ return lhs = lhs / rhs; return lhs;}
{ lhs = lhs / rhs; return lhs; }
// ----------------------------------------------------------------------------------------