summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-14 11:53:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-14 11:53:05 -0700
commitc031a6182bef7f689b2d80f418ae1b80669168a3 (patch)
tree627f24bc48fd352dd82a1588a514349c5924d9eb /lib/chef/deprecation
parent365064280c93d519fdacbf032c0c21057e5549c9 (diff)
downloadchef-c031a6182bef7f689b2d80f418ae1b80669168a3.tar.gz
fix some UselessAssignment caseslcg/useless-assignment
Diffstat (limited to 'lib/chef/deprecation')
-rw-r--r--lib/chef/deprecation/warnings.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/deprecation/warnings.rb b/lib/chef/deprecation/warnings.rb
index b015669625..411e95ea39 100644
--- a/lib/chef/deprecation/warnings.rb
+++ b/lib/chef/deprecation/warnings.rb
@@ -22,7 +22,6 @@ class Chef
def add_deprecation_warnings_for(method_names)
method_names.each do |name|
- m = instance_method(name)
define_method(name) do |*args|
message = []
message << "Method '#{name}' of '#{self.class}' is deprecated. It will be removed in Chef 13."