From fe3ff5afb07e171fd950623c69abfbabbb2762a3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 May 2019 17:27:24 +0900 Subject: Suppress paranoid warnings for external/3rd-party libraries [Feature #15665] --- ext/socket/mkconstants.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/socket') 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; } } -- cgit v1.2.1