summaryrefslogtreecommitdiff
path: root/include/ruby/internal/static_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/static_assert.h')
-rw-r--r--include/ruby/internal/static_assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/static_assert.h b/include/ruby/internal/static_assert.h
index 594c2b2917..b9ff6646e7 100644
--- a/include/ruby/internal/static_assert.h
+++ b/include/ruby/internal/static_assert.h
@@ -71,7 +71,7 @@
#else
# define RBIMPL_STATIC_ASSERT(name, expr) \
- typedef int static_assert_ ## name ## _check[1 - 2 * !(expr)]
+ MAYBE_UNUSED(typedef int static_assert_ ## name ## _check[1 - 2 * !(expr)])
#endif
#endif /* RBIMPL_STATIC_ASSERT_H */