summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd/addrlib/core/addrcommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/addrlib/core/addrcommon.h b/src/amd/addrlib/core/addrcommon.h
index 7645c505c45..907b9f4eaeb 100644
--- a/src/amd/addrlib/core/addrcommon.h
+++ b/src/amd/addrlib/core/addrcommon.h
@@ -68,7 +68,7 @@
#if defined(_WIN32) && (_MSC_VER >= 1400)
#define ADDR_ANALYSIS_ASSUME(expr) __analysis_assume(expr)
#else
- #define ADDR_ANALYSIS_ASSUME(expr) do { } while (0)
+ #define ADDR_ANALYSIS_ASSUME(expr) do { (void)(expr); } while (0)
#endif
#if DEBUG