1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Mathias Gibbens <gibmat@debian.org>
Description: Temporarily ignore an error generated by the latest version of gcc
Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105580
diff --git a/src/openrct2-ui/windows/Changelog.cpp b/src/openrct2-ui/windows/Changelog.cpp
index f8a0713c..1d89bf6f 100644
--- a/src/openrct2-ui/windows/Changelog.cpp
+++ b/src/openrct2-ui/windows/Changelog.cpp
@@ -7,6 +7,9 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wnull-dereference"
+
#include <fstream>
#include <gzstream.h>
#include <openrct2-ui/interface/Widget.h>
@@ -288,3 +291,5 @@ namespace OpenRCT2::Ui::Windows
return window;
}
} // namespace OpenRCT2::Ui::Windows
+
+#pragma GCC diagnostic pop
|