diff options
author | Sybren A. Stüvel <sybren> | 2020-08-20 11:19:52 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-20 17:12:28 +0300 |
commit | 948e080fc5bb501f5fde183c3d5f52c3ca797190 (patch) | |
tree | 4a6fa772a44457c4e62502cb8e12d722511bb684 /source/blender/editors/screen/screen_edit.c | |
parent | 7fac0f9cd5a2422f57ceab255389ed2954508131 (diff) |
Silence `-Wmaybe-uninitialized` warning on GCC/Linux
Add `-Wno-maybe-uninitialized` option to `CMAKE_CXX_FLAGS_RELEASE` and
`CMAKE_CXX_FLAGS_RELWITHDEBINFO` variables on GCC/Linux.
In Release builds GCC's `-Wmaybe-uninitialized` warning is unreliable,
and thus causes noise that can drown out other warnings. These warnings
are now silenced in release mode builds.a
Debug builds seem fine, so flags for debug builds are not touched by
this commit.
No functional changes.
Reviewed By: Sergey
Differential Revision: https://developer.blender.org/D8615
Diffstat (limited to 'source/blender/editors/screen/screen_edit.c')
0 files changed, 0 insertions, 0 deletions