From 158979f838a9da5da7e44d4e063b10aef010c50f Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Wed, 15 Dec 1999 17:41:19 +0000 Subject: [PATCH] (return_one) removed. (OnChangeMemoryLimit) Only defined if MEMORY_LIMIT is defined. --- main/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main/main.c b/main/main.c index c7492c61d4..2d149d0569 100644 --- a/main/main.c +++ b/main/main.c @@ -135,6 +135,7 @@ static PHP_INI_MH(OnChangeMaxExecutionTime) } +#if MEMORY_LIMIT static PHP_INI_MH(OnChangeMemoryLimit) { int new_limit; @@ -146,6 +147,7 @@ static PHP_INI_MH(OnChangeMemoryLimit) } return zend_set_memory_limit(new_limit); } +#endif static PHP_INI_MH(OnUpdateErrorReporting) @@ -790,12 +792,6 @@ void php_request_shutdown_for_exec(void *dummy) } -static int return_one(void *p) -{ - return 1; -} - - void php_request_shutdown(void *dummy) { CLS_FETCH(); -- 2.50.1