Add UNUSED to avoid compiler warnings.

This commit is contained in:
Qi Wang 2018-04-16 12:08:27 -07:00 committed by Qi Wang
parent 2a80d6f15b
commit 0fadf4a2e3
9 changed files with 43 additions and 44 deletions

View file

@ -190,7 +190,7 @@ extent_addr_set(extent_t *extent, void *addr) {
}
static inline void
extent_addr_randomize(tsdn_t *tsdn, extent_t *extent, size_t alignment) {
extent_addr_randomize(UNUSED tsdn_t *tsdn, extent_t *extent, size_t alignment) {
assert(extent_base_get(extent) == extent_addr_get(extent));
if (alignment < PAGE) {