diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-17 16:13:34 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-17 16:13:34 +0000 |
commit | 98e79eccdf45078cee8aa1379997885e447cd4f1 (patch) | |
tree | 9d0c51e380d504465931994a9bf8a6e26126603b | |
parent | 7a140a3cb00abfa9020303ab8ae38ff7c77190dc (diff) | |
download | ruby-98e79eccdf45078cee8aa1379997885e447cd4f1.tar.gz |
* ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
rb_obj_call_init() call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/sha1/sha1-ruby.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri May 18 01:11:02 2001 Usaku Nakamura <usa@osb.att.ne.jp> + + * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded + rb_obj_call_init() call. + Fri May 18 01:03:55 2001 Usaku Nakamura <usa@osb.att.ne.jp> * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos. diff --git a/ext/sha1/sha1-ruby.c b/ext/sha1/sha1-ruby.c index 394ebf7c16..760ce0f2b0 100644 --- a/ext/sha1/sha1-ruby.c +++ b/ext/sha1/sha1-ruby.c @@ -76,7 +76,6 @@ sha1_new(argc, argv, class) if (!NIL_P(arg)) Check_Type(arg, T_STRING); obj = Data_Make_Struct(class, SHA1_CTX, 0, free, sha1); - rb_obj_call_init(obj, argc, argv); SHA1Init(sha1); if (!NIL_P(arg)) { sha1_update(obj, arg); |