diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-26 17:35:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-26 17:37:13 +0200 |
commit | d22ef4eb1234fc14ae965189b7a2f4e21451fd20 (patch) | |
tree | 90263cf6a36a4b10be68dc366aa63431debab9f1 /sal/rtl | |
parent | 10006071c0e39eef7c30e227d619dd2997a4fec7 (diff) |
loplugin:redundantcast (clang-cl)
Change-Id: I5164bc1bfa1aaae0f648e0384227d92c8b2ff7a3
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/alloc_arena.cxx | 2 | ||||
-rw-r--r-- | sal/rtl/alloc_cache.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx index 68dd29836ef5..1459c06816d6 100644 --- a/sal/rtl/alloc_arena.cxx +++ b/sal/rtl/alloc_arena.cxx @@ -596,7 +596,7 @@ rtl_arena_constructor (void * obj) QUEUE_START_NAMED(arena, arena_); - (void) RTL_MEMORY_LOCK_INIT(&(arena->m_lock)); + RTL_MEMORY_LOCK_INIT(&(arena->m_lock)); head = &(arena->m_segment_reserve_span_head); rtl_arena_segment_constructor (head); diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx index 1529626e0537..79c8e76e8ca3 100644 --- a/sal/rtl/alloc_cache.cxx +++ b/sal/rtl/alloc_cache.cxx @@ -736,7 +736,7 @@ rtl_cache_constructor (void * obj) QUEUE_START_NAMED(cache, cache_); /* slab layer */ - (void)RTL_MEMORY_LOCK_INIT(&(cache->m_slab_lock)); + RTL_MEMORY_LOCK_INIT(&(cache->m_slab_lock)); QUEUE_START_NAMED(&(cache->m_free_head), slab_); QUEUE_START_NAMED(&(cache->m_used_head), slab_); @@ -746,7 +746,7 @@ rtl_cache_constructor (void * obj) cache->m_hash_shift = highbit(cache->m_hash_size) - 1; /* depot layer */ - (void)RTL_MEMORY_LOCK_INIT(&(cache->m_depot_lock)); + RTL_MEMORY_LOCK_INIT(&(cache->m_depot_lock)); return 1; } @@ -762,7 +762,7 @@ rtl_cache_destructor (void * obj) assert(QUEUE_STARTED_NAMED(cache, cache_)); /* slab layer */ - (void)RTL_MEMORY_LOCK_DESTROY(&(cache->m_slab_lock)); + RTL_MEMORY_LOCK_DESTROY(&(cache->m_slab_lock)); assert(QUEUE_STARTED_NAMED(&(cache->m_free_head), slab_)); assert(QUEUE_STARTED_NAMED(&(cache->m_used_head), slab_)); @@ -772,7 +772,7 @@ rtl_cache_destructor (void * obj) assert(cache->m_hash_shift == highbit(cache->m_hash_size) - 1); /* depot layer */ - (void)RTL_MEMORY_LOCK_DESTROY(&(cache->m_depot_lock)); + RTL_MEMORY_LOCK_DESTROY(&(cache->m_depot_lock)); } /* ================================================================= */ |