summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-08-28 16:41:20 +0000
committerSascha Schumann <sas@php.net>2003-08-28 16:41:20 +0000
commit2e36578cfd7c7a33dafcc2a48fbb0a718999af12 (patch)
tree8779bd7817fd02e68fe126ed59d71a948e21cf9b /Zend/zend_alloc.c
parent04bbd9a2f77711e6d3843f57cf45a406966e2352 (diff)
downloadphp-git-2e36578cfd7c7a33dafcc2a48fbb0a718999af12.tar.gz
Add format attribute to a number of functions
Kill a few warnings
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 4f02af00d4..13e74e814d 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -470,8 +470,12 @@ ZEND_API void start_memory_manager(TSRMLS_D)
ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
{
+#if ZEND_DEBUG || !defined(ZEND_MM)
zend_mem_header *p, *t;
+#endif
+#if ZEND_DEBUG
zend_uint grand_total_leaks=0;
+#endif
#if defined(ZEND_MM) && !ZEND_DEBUG
if (clean_cache) {