This commit is contained in:
Viktor Szakats 2025-09-02 15:45:43 +02:00
parent 5bc65893aa
commit ed2ef56968
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -786,12 +786,8 @@
#if defined(__GNUC__) && ((__GNUC__ >= 3) || \
((__GNUC__ == 2) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 7)))
# define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#elif defined(__IAR_SYSTEMS_ICC__)
# if (__VER__ >= 9040001)
# define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
# else
# define WARN_UNUSED_RESULT
# endif
#elif defined(__IAR_SYSTEMS_ICC__) && (__VER__ >= 9040001)
# define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define WARN_UNUSED_RESULT
#endif