From 94edc5a9d9dd2de515fe3e5f4e972d88ed5b2bc7 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 10 Sep 2010 04:13:21 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/digest/lib/digest.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)