summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmemory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llmemory.cpp')
-rw-r--r--indra/llcommon/llmemory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp
index 49e2cd9ac4..62db7e3385 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