8354292: Remove unused PRAGMA_FORMAT_IGNORED

Reviewed-by: mbaesken, kbarrett, shade
This commit is contained in:
Gustavo Simon 2025-05-01 07:32:10 +00:00 committed by Aleksey Shipilev
parent 8ef7e256a0
commit b218410508
2 changed files with 0 additions and 5 deletions

View File

@ -62,9 +62,6 @@
#ifndef PRAGMA_FORMAT_NONLITERAL_IGNORED
#define PRAGMA_FORMAT_NONLITERAL_IGNORED
#endif
#ifndef PRAGMA_FORMAT_IGNORED
#define PRAGMA_FORMAT_IGNORED
#endif
#ifndef PRAGMA_STRINGOP_TRUNCATION_IGNORED
#define PRAGMA_STRINGOP_TRUNCATION_IGNORED

View File

@ -51,8 +51,6 @@
PRAGMA_DISABLE_GCC_WARNING("-Wformat-nonliteral") \
PRAGMA_DISABLE_GCC_WARNING("-Wformat-security")
#define PRAGMA_FORMAT_IGNORED PRAGMA_DISABLE_GCC_WARNING("-Wformat")
// Disable -Wstringop-truncation which is introduced in GCC 8.
// https://gcc.gnu.org/gcc-8/changes.html
#if !defined(__clang_major__) && (__GNUC__ >= 8)