mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-11 01:22:32 -07:00
video_core: Enforce -Wredundant-move and -Wpessimizing-move
Silence three warnings and make them errors to avoid introducing more in the future.
This commit is contained in:
@@ -302,6 +302,8 @@ else()
|
||||
target_compile_options(video_core PRIVATE
|
||||
-Werror=conversion
|
||||
-Wno-error=sign-conversion
|
||||
-Werror=pessimizing-move
|
||||
-Werror=redundant-move
|
||||
-Werror=switch
|
||||
-Werror=unused-variable
|
||||
|
||||
|
Reference in New Issue
Block a user