diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-05-23 17:27:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-05-23 17:36:26 +0900 |
commit | fe3ff5afb07e171fd950623c69abfbabbb2762a3 (patch) | |
tree | e7f285cf9cf0f84375e20c5d572e171b8af021e4 /ext/socket/mkconstants.rb | |
parent | dc95b57a68da6999ce6a1542b3ad81c51429cc99 (diff) |
Suppress paranoid warnings for external/3rd-party libraries
[Feature #15665]
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r-- | ext/socket/mkconstants.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 81b8224077..620a5f60ff 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -180,6 +180,7 @@ int % } default: + if (!str || !valp) {/* wrong argument */} return -1; } } |