mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Enable -Wunused-variable
This commit is contained in:
parent
631d7d0ce7
commit
db8e6fe7a7
62 changed files with 167 additions and 183 deletions
|
|
@ -943,8 +943,6 @@ void root_info::slot_free(uptr iptr, atomic_t<u16>* slot, u32 tls_slot) noexcept
|
|||
{
|
||||
const auto begin = reinterpret_cast<uptr>(std::begin(s_hashtable));
|
||||
|
||||
const auto end = reinterpret_cast<uptr>(std::end(s_hashtable));
|
||||
|
||||
const auto ptr = reinterpret_cast<uptr>(slot) - begin;
|
||||
|
||||
if (ptr >= sizeof(s_hashtable))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue