Index: /branches/1.3/xc_malloc.c
===================================================================
--- /branches/1.3/xc_malloc.c	(revision 602)
+++ /branches/1.3/xc_malloc.c	(revision 603)
@@ -148,4 +148,5 @@
 static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */
 {
+#ifdef HAVE_XCACHE_TEST
 	HashPosition pos;
 	size_t *psize;
@@ -160,4 +161,5 @@
 		zend_hash_move_forward_ex(&shm->blocks, &pos);
 	}
+#endif
 
 	return 0;
