From 01811074e88da80666491e4c6310d00cd6e15c72 Mon Sep 17 00:00:00 2001 From: Sathish Date: Fri, 11 Mar 2022 18:28:28 +0530 Subject: [PATCH] remove unused args Signed-off-by: Sathish --- test/fixtures/profiles/filter_table/libraries/lazy_loader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/profiles/filter_table/libraries/lazy_loader.rb b/test/fixtures/profiles/filter_table/libraries/lazy_loader.rb index d46eccad0..1e4847a74 100644 --- a/test/fixtures/profiles/filter_table/libraries/lazy_loader.rb +++ b/test/fixtures/profiles/filter_table/libraries/lazy_loader.rb @@ -28,7 +28,7 @@ class LazyLoader < Inspec.resource(1) filter_table_generator.add(:lazy_6s, field: :lazy_6, lazy_instance: :increment_lazy_6 ) filter_table_generator.connect(self, :plain_data) - def increment_lazy_6(row, crit, table) + def increment_lazy_6(row, _crit, _table) # BUG: self here is different every time this is called, and appears not to be initialized row[:lazy_6] = (self.lazy_6_call_count += 1) end