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