diff options
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/factorial.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dbug/factorial.c b/dbug/factorial.c index 7b190ea8d8e..e1cb77f0e30 100644 --- a/dbug/factorial.c +++ b/dbug/factorial.c @@ -1,14 +1,3 @@ -#ifdef DBUG_OFF /* We are testing dbug */ - -int factorial(register int value) { - if(value > 1) { - value *= factorial(value-1); - } - return value; -} - -#else - #include <my_global.h> int factorial ( @@ -22,6 +11,3 @@ register int value) DBUG_PRINT ("result", ("result is %d", value)); DBUG_RETURN (value); } - -#endif - |