From: Joel Rosdahl Date: Sun, 19 Jun 2022 12:26:19 +0000 (+0200) Subject: refactor: Remove now unneeded defines of nodiscard and maybe_unused X-Git-Tag: v4.7~173 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9536b4fb1f653fb4e10dd84f1569f5d5d732795f;p=thirdparty%2Fccache.git refactor: Remove now unneeded defines of nodiscard and maybe_unused --- diff --git a/cmake/config.h.in b/cmake/config.h.in index bbc1397f5..9e014303c 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -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)