diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-19 03:19:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-19 03:19:20 +0000 |
commit | 038c0e5a804f1736e884f6741b9d7e84606580d7 (patch) | |
tree | 4505d88a455683259c327e042217988ed550ba67 /ext/openssl/ossl_ssl.c | |
parent | ab32fbdbf980661c38a8129809b8c9129bb54e1c (diff) | |
download | ruby-038c0e5a804f1736e884f6741b9d7e84606580d7.tar.gz |
ext: suppress warnings
* ext/{etc,openssl,tk}: Adding parens and comparisons around
assignments to get rid of Wparentheses warnings. [Fix GH-875]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
-rw-r--r-- | ext/openssl/ossl_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 2e128356aa..9306b1e8d8 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1124,7 +1124,7 @@ ossl_ssl_shutdown(SSL *ssl) * Ignore the case SSL_shutdown returns -1. Empty handshake_func * must not happen. */ - if (rc = SSL_shutdown(ssl)) + if ((rc = SSL_shutdown(ssl)) != 0) break; } SSL_clear(ssl); |