From 3b0d1a893b7d2125f0d29a7ed69991d7e3355234 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 58cf3590bad51b..02a7ae95dcb5a1 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 = {}