mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-27 14:07:51 -05: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