diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-02 11:12:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-02 11:12:24 +0200 |
commit | 1718d78dc076c25f6e7edd63089901a82ff1063b (patch) | |
tree | 7b124ed1220bae0adb6168e473588f3fb6512f08 | |
parent | 437fb12e1aa3135dc7fa336bd0a53036be649ce8 (diff) | |
parent | 7df28d1799c9ef3cf16782b10b5aae59f9888cad (diff) |
Merge pull request #10882 from hpvb/fix-missing-pragma-push
Fix missing pragma push
[ci skip]
-rw-r--r-- | modules/stb_vorbis/audio_stream_ogg_vorbis.cpp | 1 | ||||
-rw-r--r-- | modules/stb_vorbis/audio_stream_ogg_vorbis.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp b/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp index 13e9d5c730..df427907f8 100644 --- a/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp +++ b/modules/stb_vorbis/audio_stream_ogg_vorbis.cpp @@ -31,6 +31,7 @@ #include "os/file_access.h" +#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #include "thirdparty/misc/stb_vorbis.c" #pragma GCC diagnostic pop diff --git a/modules/stb_vorbis/audio_stream_ogg_vorbis.h b/modules/stb_vorbis/audio_stream_ogg_vorbis.h index 31fa589140..bcd829a56a 100644 --- a/modules/stb_vorbis/audio_stream_ogg_vorbis.h +++ b/modules/stb_vorbis/audio_stream_ogg_vorbis.h @@ -34,6 +34,7 @@ #include "servers/audio/audio_stream.h" #define STB_VORBIS_HEADER_ONLY +#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #include "thirdparty/misc/stb_vorbis.c" #pragma GCC diagnostic pop |