mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_ssl.c: Remove set, but unused variables.
ext/openssl/ossl_pkey.c: ditto * ext/openssl/ossl_pkey_dh.c: Make functions passed to rb_thread_blocking_region return VALUE instead of void. ext/openssl/ossl_pkey_dsa.c: ditto ext/openssl/ossl_pkey_rsa.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
12c497dcf6
commit
c35204f7bd
6 changed files with 24 additions and 11 deletions
|
@ -38,7 +38,7 @@ ossl_generate_cb(int p, int n, void *arg)
|
|||
int
|
||||
ossl_generate_cb_2(int p, int n, BN_GENCB *cb)
|
||||
{
|
||||
VALUE ary, ret;
|
||||
VALUE ary;
|
||||
struct ossl_generate_cb_arg *arg;
|
||||
int state;
|
||||
|
||||
|
@ -51,7 +51,7 @@ ossl_generate_cb_2(int p, int n, BN_GENCB *cb)
|
|||
/*
|
||||
* can be break by raising exception or 'break'
|
||||
*/
|
||||
ret = rb_protect(rb_yield, ary, &state);
|
||||
rb_protect(rb_yield, ary, &state);
|
||||
if (state) {
|
||||
arg->stop = 1;
|
||||
arg->state = state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue