diff options
author | nobu <nobu@ruby-lang.org> | 2015-04-19 03:19:20 +0000 |
---|---|---|
committer | nobu <nobu@ruby-lang.org> | 2015-04-19 03:19:20 +0000 |
commit | 2613dabc4b6bda3d7056a6e92207746755405548 (patch) | |
tree | 0e2bcfad4c46d4d9ce0e3bd500c7f58276373157 | |
parent | 2d3e95d52313d7a4d2b58f8668cb31230b22e34a (diff) | |
download | ruby-openssl-history-2613dabc4b6bda3d7056a6e92207746755405548.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
-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 2e12835..9306b1e 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); |