mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Enable -Wunused-variable
This commit is contained in:
parent
631d7d0ce7
commit
db8e6fe7a7
62 changed files with 167 additions and 183 deletions
|
|
@ -1112,10 +1112,8 @@ namespace vm
|
|||
{
|
||||
auto fill64 = [](u8* ptr, u64 data, usz count)
|
||||
{
|
||||
u64* target = reinterpret_cast<u64*>(ptr);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__stosq(target, data, count);
|
||||
__stosq(reinterpret_cast<u64*>(ptr), data, count);
|
||||
#else
|
||||
__asm__ ("mov %0, %%rdi; mov %1, %%rax; mov %2, %%rcx; rep stosq;"
|
||||
:
|
||||
|
|
|
|||
|
|
@ -415,7 +415,7 @@ namespace vm
|
|||
};
|
||||
|
||||
// Null pointer convertible to any vm::ptr* type
|
||||
static null_t null;
|
||||
constexpr null_t null{};
|
||||
}
|
||||
|
||||
template<typename T1, typename AT1, typename T2, typename AT2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue