diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2017-10-25 18:32:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-24 19:24:50 +0900 |
commit | 7459a32af3e89ea9990efb4d76bfdc869e480ffe (patch) | |
tree | 3faf1fdeabfed9a3d05106fa493e24dfcbbbbe12 /vm_core.h | |
parent | e5c2bf55d0c5b71227284a577301b3c48894032e (diff) |
suppress warnings for probable NULL dererefences
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5015
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1367,6 +1367,7 @@ vm_assert_env(VALUE obj) } #endif +RBIMPL_ATTR_NONNULL((1)) static inline VALUE VM_ENV_ENVVAL(const VALUE *ep) { @@ -1376,6 +1377,7 @@ VM_ENV_ENVVAL(const VALUE *ep) return envval; } +RBIMPL_ATTR_NONNULL((1)) static inline const rb_env_t * VM_ENV_ENVVAL_PTR(const VALUE *ep) { |