warning C4702: unreachable code

Change-Id: Id8d87765c1e3c9a1549dc6d4baa65fe47dcd6af4
This commit is contained in:
Stephan Bergmann
2013-10-31 10:30:47 +01:00
parent dc6e04878d
commit 9aa6fbb518
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -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
-1
View File
@@ -79,7 +79,6 @@ size_t DynamicKernelArgument::GetWindowSize(void) const
{
throw Unhandled();
}
return 0;
}
void Normal::GenSlidingWindowFunction(