Commit 7e290fb9 by Dominic Hamon

Fix release builds

parent 66f0b5d0
...@@ -16,9 +16,11 @@ ...@@ -16,9 +16,11 @@
namespace { namespace {
#ifdef DEBUG
int ATTRIBUTE_NOINLINE Factorial(uint32_t n) { int ATTRIBUTE_NOINLINE Factorial(uint32_t n) {
return (n == 1) ? 1 : n * Factorial(n - 1); return (n == 1) ? 1 : n * Factorial(n - 1);
} }
#endif
double CalculatePi(int depth) { double CalculatePi(int depth) {
double pi = 0.0; double pi = 0.0;
......
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