Kaydet (Commit) 9aa6fbb5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

warning C4702: unreachable code

Change-Id: Id8d87765c1e3c9a1549dc6d4baa65fe47dcd6af4
üst dc6e0487
...@@ -1368,6 +1368,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc, ...@@ -1368,6 +1368,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc,
std::cerr << ut.mMessage << "\n"; std::cerr << ut.mMessage << "\n";
#ifdef NO_FALLBACK_TO_SWINTERP #ifdef NO_FALLBACK_TO_SWINTERP
assert(false); assert(false);
return true;
#else #else
return false; return false;
#endif #endif
...@@ -1377,6 +1378,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc, ...@@ -1377,6 +1378,7 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc,
std::cerr << oce.mError << "\n"; std::cerr << oce.mError << "\n";
#ifdef NO_FALLBACK_TO_SWINTERP #ifdef NO_FALLBACK_TO_SWINTERP
assert(false); assert(false);
return true;
#else #else
return false; return false;
#endif #endif
...@@ -1385,11 +1387,11 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc, ...@@ -1385,11 +1387,11 @@ bool FormulaGroupInterpreterOpenCL::interpret( ScDocument& rDoc,
std::cerr << "Dynamic formula compiler: unhandled compiler error\n"; std::cerr << "Dynamic formula compiler: unhandled compiler error\n";
#ifdef NO_FALLBACK_TO_SWINTERP #ifdef NO_FALLBACK_TO_SWINTERP
assert(false); assert(false);
return true;
#else #else
return false; return false;
#endif #endif
} }
return true;
} // namespace opencl } // namespace opencl
}} // namespace sc }} // namespace sc
......
...@@ -79,7 +79,6 @@ size_t DynamicKernelArgument::GetWindowSize(void) const ...@@ -79,7 +79,6 @@ size_t DynamicKernelArgument::GetWindowSize(void) const
{ {
throw Unhandled(); throw Unhandled();
} }
return 0;
} }
void Normal::GenSlidingWindowFunction( void Normal::GenSlidingWindowFunction(
......
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