From edb157fa272b58be8bb90fa4dc9cb7ca4c2760f2 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 22 Dec 2014 13:06:44 -0800 Subject: ART: Mac build fix Unused parameter on Mac. Bug: 18596910 Change-Id: If0fab0b58173997d584fcdce195361d792f1098d --- compiler/utils/swap_space.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/utils/swap_space.cc') diff --git a/compiler/utils/swap_space.cc b/compiler/utils/swap_space.cc index fc514354eb..325ee4fa01 100644 --- a/compiler/utils/swap_space.cc +++ b/compiler/utils/swap_space.cc @@ -153,9 +153,9 @@ SpaceChunk SwapSpace::NewFileChunk(size_t min_size) { maps_.push_back(new_chunk); return new_chunk; #else - UNUSED(kMininumMapSize); + UNUSED(min_size, kMininumMapSize); LOG(FATAL) << "No swap file support on the Mac."; - return {nullptr, 0U}; // NOLINT [readability/braces] [4] + UNREACHABLE(); #endif } -- cgit v1.2.3-59-g8ed1b