Skip to content

Commit b218410

Browse files
gustavosimonshipilev
authored andcommitted
8354292: Remove unused PRAGMA_FORMAT_IGNORED
Reviewed-by: mbaesken, kbarrett, shade
1 parent 8ef7e25 commit b218410

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/hotspot/share/utilities/compilerWarnings.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@
6262
#ifndef PRAGMA_FORMAT_NONLITERAL_IGNORED
6363
#define PRAGMA_FORMAT_NONLITERAL_IGNORED
6464
#endif
65-
#ifndef PRAGMA_FORMAT_IGNORED
66-
#define PRAGMA_FORMAT_IGNORED
67-
#endif
6865

6966
#ifndef PRAGMA_STRINGOP_TRUNCATION_IGNORED
7067
#define PRAGMA_STRINGOP_TRUNCATION_IGNORED

src/hotspot/share/utilities/compilerWarnings_gcc.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
PRAGMA_DISABLE_GCC_WARNING("-Wformat-nonliteral") \
5252
PRAGMA_DISABLE_GCC_WARNING("-Wformat-security")
5353

54-
#define PRAGMA_FORMAT_IGNORED PRAGMA_DISABLE_GCC_WARNING("-Wformat")
55-
5654
// Disable -Wstringop-truncation which is introduced in GCC 8.
5755
// https://gcc.gnu.org/gcc-8/changes.html
5856
#if !defined(__clang_major__) && (__GNUC__ >= 8)

0 commit comments

Comments
 (0)