diff --git a/rpcs3/Emu/RSX/Common/texture_cache_utils.h b/rpcs3/Emu/RSX/Common/texture_cache_utils.h index 96bfec1de0..b1af0447a9 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache_utils.h +++ b/rpcs3/Emu/RSX/Common/texture_cache_utils.h @@ -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; diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index 38fb70c94e..eb67592fcf 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -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); diff --git a/rpcs3/cmake_modules/ConfigureCompiler.cmake b/rpcs3/cmake_modules/ConfigureCompiler.cmake index 390865ede0..29b3172ae4 100644 --- a/rpcs3/cmake_modules/ConfigureCompiler.cmake +++ b/rpcs3/cmake_modules/ConfigureCompiler.cmake @@ -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)