summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-09 15:29:04 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-09 15:35:03 -0500
commitb5b1e98a66aef5b64409e3d02149733bf3f475fb (patch)
tree552d32ceeca5adee2569dc0c0e86c85de26b0383 /src/config.h
parentffa465b759204272a5e94d851ce3696c827e9d96 (diff)
downloadbfs-b5b1e98a66aef5b64409e3d02149733bf3f475fb.tar.xz
config: Remove BFS_SUPPRESS()
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/config.h b/src/config.h
index 38ca69b..e11941a 100644
--- a/src/config.h
+++ b/src/config.h
@@ -202,19 +202,4 @@
# endif
#endif
-/**
- * Ignore a particular GCC warning for a region of code.
- */
-#if __GNUC__
-# define BFS_PRAGMA_STRINGIFY(...) _Pragma(#__VA_ARGS__)
-# define BFS_SUPPRESS(warning) \
- _Pragma("GCC diagnostic push"); \
- BFS_PRAGMA_STRINGIFY(GCC diagnostic ignored warning)
-# define BFS_UNSUPPRESS() \
- _Pragma("GCC diagnostic pop")
-#else
-# define BFS_SUPPRESS(warning)
-# define BFS_UNSUPPRESS()
-#endif
-
#endif // BFS_CONFIG_H