remove gcc_warn_unused

[[nodiscard] (introduced in C++17) can be used instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-03-15 21:08:42 -07:00
parent a192e7b29b
commit 0afb156a5b
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 0 additions and 2 deletions

View File

@ -75,7 +75,6 @@
#define gcc_pure __attribute__((pure))
#define gcc_sentinel __attribute__((sentinel))
#define gcc_unused __attribute__((unused))
#define gcc_warn_unused_result __attribute__((warn_unused_result))
#define gcc_nonnull(...) __attribute__((nonnull(__VA_ARGS__)))
#define gcc_nonnull_all __attribute__((nonnull))
@ -103,7 +102,6 @@
#define gcc_pure
#define gcc_sentinel
#define gcc_unused
#define gcc_warn_unused_result
#define gcc_nonnull(...)
#define gcc_nonnull_all