Fix release builds

This commit is contained in:
Dominic Hamon 2014-11-13 13:12:28 -08:00
parent 66f0b5d0ed
commit 7e290fb965

View File

@ -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;