mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (rb_mutex_unlock): shut up warning. a patch from
Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c91d4ea9c
commit
bd4d9e9a35
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Dec 11 01:21:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* thread.c (rb_mutex_unlock): shut up warning. a patch from
|
||||||
|
Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846
|
||||||
|
|
||||||
Wed Dec 10 23:58:56 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
Wed Dec 10 23:58:56 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* complex.c: avoided warnings on cpp. [ruby-dev:37344]
|
* complex.c: avoided warnings on cpp. [ruby-dev:37344]
|
||||||
|
|
2
thread.c
2
thread.c
|
@ -2978,7 +2978,7 @@ rb_mutex_unlock(VALUE self)
|
||||||
GetMutexPtr(self, mutex);
|
GetMutexPtr(self, mutex);
|
||||||
|
|
||||||
err = mutex_unlock(mutex);
|
err = mutex_unlock(mutex);
|
||||||
if (err) rb_raise(rb_eThreadError, err);
|
if (err) rb_raise(rb_eThreadError, "%s", err);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue