mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
= should be ==
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ed2c6fc8a
commit
3a0f79267e
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ rb_digest_base_become(copy, obj)
|
||||||
algo_t *algo;
|
algo_t *algo;
|
||||||
void *pctx1, *pctx2;
|
void *pctx1, *pctx2;
|
||||||
|
|
||||||
if (copy = obj) return copy;
|
if (copy == obj) return copy;
|
||||||
rb_check_frozen(copy);
|
rb_check_frozen(copy);
|
||||||
algo = get_digest_base_metadata(CLASS_OF(copy));
|
algo = get_digest_base_metadata(CLASS_OF(copy));
|
||||||
if (algo != get_digest_base_metadata(CLASS_OF(obj))) {
|
if (algo != get_digest_base_metadata(CLASS_OF(obj))) {
|
||||||
|
|
Loading…
Reference in a new issue