Commit 1e53e779 authored by Jan Rüegg's avatar Jan Rüegg Committed by Davis E. King

Unreachable code, fixed compiler warning (#271)

* Unreachable code, fixed compiler warning

* Update simd8f.h
parent fc8a335f
...@@ -167,7 +167,7 @@ namespace dlib ...@@ -167,7 +167,7 @@ namespace dlib
#endif #endif
} }
inline simd8f& operator+= (simd8f& lhs, const simd8f& rhs) 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 ...@@ -181,7 +181,7 @@ namespace dlib
#endif #endif
} }
inline simd8f& operator-= (simd8f& lhs, const simd8f& rhs) 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 ...@@ -195,7 +195,7 @@ namespace dlib
#endif #endif
} }
inline simd8f& operator*= (simd8f& lhs, const simd8f& rhs) 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 ...@@ -209,7 +209,7 @@ namespace dlib
#endif #endif
} }
inline simd8f& operator/= (simd8f& lhs, const simd8f& rhs) inline simd8f& operator/= (simd8f& lhs, const simd8f& rhs)
{ return lhs = lhs / rhs; return lhs;} { lhs = lhs / rhs; return lhs; }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment