mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 00:53:34 +03:00
Add UNUSED to avoid compiler warnings.
This commit is contained in:
parent
2a80d6f15b
commit
0fadf4a2e3
9 changed files with 43 additions and 44 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue