Commit 9635f785 authored by Jan Rüegg's avatar Jan Rüegg Committed by Davis E. King

Unreachable code, fixed compiler warning (#272)

* Unreachable code, fixed compiler warning

* Update simd4f.h
parent 1e53e779
...@@ -198,7 +198,7 @@ namespace dlib ...@@ -198,7 +198,7 @@ namespace dlib
#endif #endif
} }
inline simd4f& operator+= (simd4f& lhs, const simd4f& rhs) inline simd4f& operator+= (simd4f& lhs, const simd4f& rhs)
{ return lhs = lhs + rhs; return lhs;} { lhs = lhs + rhs; return lhs; }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
...@@ -214,7 +214,7 @@ namespace dlib ...@@ -214,7 +214,7 @@ namespace dlib
#endif #endif
} }
inline simd4f& operator-= (simd4f& lhs, const simd4f& rhs) inline simd4f& operator-= (simd4f& lhs, const simd4f& rhs)
{ return lhs = lhs - rhs; return lhs;} { lhs = lhs - rhs; return lhs; }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
...@@ -230,7 +230,7 @@ namespace dlib ...@@ -230,7 +230,7 @@ namespace dlib
#endif #endif
} }
inline simd4f& operator*= (simd4f& lhs, const simd4f& rhs) inline simd4f& operator*= (simd4f& lhs, const simd4f& rhs)
{ return lhs = lhs * rhs; return lhs;} { lhs = lhs * rhs; return lhs; }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
...@@ -246,7 +246,7 @@ namespace dlib ...@@ -246,7 +246,7 @@ namespace dlib
#endif #endif
} }
inline simd4f& operator/= (simd4f& lhs, const simd4f& rhs) inline simd4f& operator/= (simd4f& lhs, const simd4f& 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