Index: /trunk/xc_malloc.c
===================================================================
--- /trunk/xc_malloc.c	(revision 389)
+++ /trunk/xc_malloc.c	(revision 390)
@@ -144,4 +144,5 @@
 static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */
 {
+#ifdef HAVE_XCACHE_TEST
 	HashPosition pos;
 	size_t *psize;
@@ -156,4 +157,5 @@
 		zend_hash_move_forward_ex(&shm->blocks, &pos);
 	}
+#endif
 
 	return 0;
