fix asan compile error

This commit is contained in:
obdev
2023-06-08 13:12:29 +00:00
committed by ob-robot
parent d404c0fe28
commit d977b59b60
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ void *ObMallocAllocator::alloc(const int64_t size)
void *ObMallocAllocator::alloc(const int64_t size, const oceanbase::lib::ObMemAttr &_attr)
{
#ifdef OB_USE_ASAN
UNUSED(attr);
UNUSED(_attr);
return ::malloc(size);
#else
SANITY_DISABLE_CHECK_RANGE(); // prevent sanity_check_range