test_util_cache: remove unused argument c3 [luacheck]
authorAnton Shestakov <av6@dwimlabs.net>
Sat, 9 Jul 2016 09:30:23 +0000 (17:30 +0800)
committerAnton Shestakov <av6@dwimlabs.net>
Sat, 9 Jul 2016 09:30:23 +0000 (17:30 +0800)
tests/test_util_cache.lua

index 78666edc44e02018fb454005dfe9481aa1e08f4e..dea1bf4c6b92444ac7bea29aba76e81e7a6d5da0 100644 (file)
@@ -219,7 +219,7 @@ function new(new)
        
 
        local evicted_key, evicted_value;
-       local c3 = new(1, function (_key, _value, c3)
+       local c3 = new(1, function (_key, _value)
                evicted_key, evicted_value = _key, _value;
                if _key == "a" then
                        -- Sanity check for what we're evicting