mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 08:27:53 +00: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:
parent
a9cf9c5348
commit
de16b5a409
4 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue