mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
Fix -Wsometimed-uninitialized (Clang)
This commit is contained in:
parent
428771f1d7
commit
2c18d67769
@ -1552,7 +1552,7 @@ namespace rsx
|
||||
{
|
||||
mapped_offset = 0;
|
||||
}
|
||||
else if (valid_offset)
|
||||
else
|
||||
{
|
||||
const u32 offset_in_x = valid_offset % rsx_pitch;
|
||||
const u32 offset_in_y = valid_offset / rsx_pitch;
|
||||
|
@ -820,7 +820,7 @@ void VKGSRender::check_heap_status(u32 flags)
|
||||
m_index_buffer_ring_info.is_critical() ||
|
||||
m_raster_env_ring_info.is_critical();
|
||||
}
|
||||
else if (flags)
|
||||
else
|
||||
{
|
||||
heap_critical = false;
|
||||
u32 test = 1u << std::countr_zero(flags);
|
||||
|
@ -44,7 +44,6 @@ else()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-fconstexpr-steps=16777216)
|
||||
add_compile_options(-Wno-sometimes-uninitialized)
|
||||
add_compile_options(-Wno-unused-lambda-capture)
|
||||
add_compile_options(-Wno-unused-private-field)
|
||||
add_compile_options(-Wno-pessimizing-move)
|
||||
|
Loading…
Reference in New Issue
Block a user