diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-01 21:17:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-01 21:17:37 +0900 |
commit | 8531ac3115877023a907a4365ca76a7bf14fec20 (patch) | |
tree | 70dcbe501debdf2370d822e7a19d558c5ed0d2ca /include/ruby | |
parent | 1236a74023059b5cc0513bd1c25d1e5c80d70c90 (diff) | |
download | ruby-8531ac3115877023a907a4365ca76a7bf14fec20.tar.gz |
Suppress unused-local-typedef warnings
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/internal/static_assert.h | 2 |
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 */ |