From 95d4dc1a0d84310e3d3e5c2f168179cd067bb847 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 21 Dec 2024 22:55:59 +0000 Subject: [PATCH] Tools: AP_Periph: Web: scripts: fix luacheck issue --- Tools/AP_Periph/Web/scripts/pppgw_webui.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tools/AP_Periph/Web/scripts/pppgw_webui.lua b/Tools/AP_Periph/Web/scripts/pppgw_webui.lua index 58cf3590ba..02a7ae95dc 100644 --- a/Tools/AP_Periph/Web/scripts/pppgw_webui.lua +++ b/Tools/AP_Periph/Web/scripts/pppgw_webui.lua @@ -442,13 +442,11 @@ end --[[ client class for open connections --]] -local function Client(_sock, _idx) +local function Client(sock, idx) local self = {} self.closed = false - local sock = _sock - local idx = _idx local have_header = false local header = "" local header_lines = {}