mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/lib/digest.rb: removed unused exception variable
assignment to avoid a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e39c618da
commit
94edc5a9d9
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Sep 10 13:07:22 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/digest/lib/digest.rb: removed unused exception variable
|
||||||
|
assignment to avoid a warning.
|
||||||
|
|
||||||
Fri Sep 10 07:29:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Sep 10 07:29:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/etc/etc.c (etc_systmpdir): assume system default tmpdir
|
* ext/etc/etc.c (etc_systmpdir): assume system default tmpdir
|
||||||
|
|
|
@ -11,7 +11,7 @@ module Digest
|
||||||
|
|
||||||
begin
|
begin
|
||||||
require lib
|
require lib
|
||||||
rescue LoadError => e
|
rescue LoadError
|
||||||
raise LoadError, "library not found for class Digest::#{name} -- #{lib}", caller(1)
|
raise LoadError, "library not found for class Digest::#{name} -- #{lib}", caller(1)
|
||||||
end
|
end
|
||||||
unless Digest.const_defined?(name)
|
unless Digest.const_defined?(name)
|
||||||
|
|
Loading…
Reference in a new issue