]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
refactor: Remove now unneeded defines of nodiscard and maybe_unused
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 19 Jun 2022 12:26:19 +0000 (14:26 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 19 Jun 2022 19:29:02 +0000 (21:29 +0200)
cmake/config.h.in

index bbc1397f536b52bbbb3cb1d96b6c86e1760e7bd1..9e014303ce96bfb285af2215ddb578aab367b5e8 100644 (file)
@@ -193,12 +193,6 @@ typedef int pid_t;
 #  endif // _MSC_VER
 #endif   // _WIN32
 
-// GCC version of a couple of standard C++ attributes.
-#ifdef __GNUC__
-#  define nodiscard gnu::warn_unused_result
-#  define maybe_unused gnu::unused
-#endif
-
 // O_BINARY is needed when reading binary data on Windows, so use it everywhere
 // with a compatibility define for Unix platforms.
 #if !defined(_WIN32) && !defined(O_BINARY)