diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp
index 49e2cd9ac41fca785faead8a297b75cbba8593d4..62db7e338523041a7723e0e414370a0639b85a88 100644
--- a/indra/llcommon/llmemory.cpp
+++ b/indra/llcommon/llmemory.cpp
@@ -140,10 +140,10 @@ void* LLMemory::tryToAlloc(void* address, U32 size)
 			llerrs << "error happens when free some memory reservation." << llendl ;
 		}
 	}
-#else
-#endif
-
 	return address ;
+#else
+	return 0x01 ; //skip checking
+#endif	
 }
 
 //static