From da4db35acda825828809902e9bcccae020454ccb Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Mon, 22 Apr 2013 20:46:57 +0530 Subject: remove redundant variable --- activesupport/lib/active_support/callbacks.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index f95bae580c..2f9247a77b 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -133,8 +133,6 @@ module ActiveSupport end def matches?(_kind, _filter) - _filter_matches = false - if @_is_object_filter _filter_matches = @filter.to_s.start_with?(_method_name_for_object_filter(_kind, _filter, false)) else -- cgit v1.2.3