From: Kevin Clark Date: Wed, 18 Jun 2008 00:52:46 +0000 (+0000) Subject: rb: Remove extra return statement X-Git-Tag: 0.2.0~649 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=5e44bce98f289a196d2df0ec0d91fc1f9a3302be;p=common%2Fthrift.git rb: Remove extra return statement git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668900 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/lib/thrift/deprecation.rb b/lib/rb/lib/thrift/deprecation.rb index 242a8593..7456f1cd 100644 --- a/lib/rb/lib/thrift/deprecation.rb +++ b/lib/rb/lib/thrift/deprecation.rb @@ -5,7 +5,7 @@ class Module alias_method :deprecated_#{method_name}, :#{method_name} def #{method_name}(*args, &block) $stderr.puts "Warning: calling deprecated method: #{self}.#{method_name}" - return deprecated_#{method_name}(*args, &block) + deprecated_#{method_name}(*args, &block) end END end