diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-18 15:42:36 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-12-18 16:42:20 +0900 |
| commit | 85ff21c9e5986c52814b7e5ed3402e2a964c542e (patch) | |
| tree | b35fd57bcb6adbe395e73b75c708f93cb2ddbf95 /test/ruby/test_rubyoptions.rb | |
| parent | 74b18b538247f8c711bc76f881cfe6954b288bb9 (diff) | |
RBOOL is unnecessary in C boolean context
Fix a `-Wint-in-bool-context` warning.
```
proc.c:688:33: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context]
688 | if (RBOOL(get_local_variable_ptr(&env, idItImplicit, FALSE))) {
```
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions
