diff --git a/ChangeLog b/ChangeLog index 7b686a55df..074ecef985 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 10 13:07:22 2010 NAKAMURA, Hiroshi + + * ext/digest/lib/digest.rb: removed unused exception variable + assignment to avoid a warning. + Fri Sep 10 07:29:14 2010 Nobuyoshi Nakada * ext/etc/etc.c (etc_systmpdir): assume system default tmpdir diff --git a/ext/digest/lib/digest.rb b/ext/digest/lib/digest.rb index 857501722e..b46cf9e2bd 100644 --- a/ext/digest/lib/digest.rb +++ b/ext/digest/lib/digest.rb @@ -11,7 +11,7 @@ module Digest begin require lib - rescue LoadError => e + rescue LoadError raise LoadError, "library not found for class Digest::#{name} -- #{lib}", caller(1) end unless Digest.const_defined?(name)