Skip to content

Commit 48175e9

Browse files
committed
Lua example configs: Remove unnecessary local var shadowing outer var
1 parent c128647 commit 48175e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flex-config/compatible.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ local function make_column_hash(columns)
474474
return h
475475
end
476476

477-
local function make_get_output(columns, hstore_all)
477+
local function make_get_output(columns)
478478
local h = make_column_hash(columns)
479479
if hstore_all then
480480
return function(tags)
@@ -510,8 +510,8 @@ end
510510

511511
local has_generic_tag = make_check_in_list_func(generic_keys)
512512

513-
local get_point_output = make_get_output(point_columns, hstore_all)
514-
local get_non_point_output = make_get_output(non_point_columns, hstore_all)
513+
local get_point_output = make_get_output(point_columns)
514+
local get_non_point_output = make_get_output(non_point_columns)
515515

516516
local function get_hstore_column(tags)
517517
local len = #hstore_column

0 commit comments

Comments
 (0)