Add unused arg validation rule

This commit is contained in:
Brahim Hadriche committed 2023-12-22 11:42:51 -05:00
1 parent 192401c847
commit 8f1d3778d8
11 files changed
+32 -23

No files matched your search

@@ -17,7 +17,7 @@ function Init()
m.top.serverName = "Playlet Web Server"
end function
function GetServerAddress(unused as dynamic) as dynamic
function GetServerAddress(_unused as dynamic) as dynamic
port = m.top.port
ip = m.top.applicationInfo@.GetLocalIpAddress()
if StringUtils.IsNullOrEmpty(ip)
@@ -6,7 +6,7 @@ function Init()
m.top.functionName = "WebServerLoop"
end function
function StartServer(unused as dynamic) as boolean
function StartServer(_unused as dynamic) as boolean
if m.top.isRunning = true
return true
end if
@@ -15,7 +15,7 @@ function StartServer(unused as dynamic) as boolean
return true
end function
function StopServer(unused as dynamic) as void
function StopServer(_unused as dynamic) as void
if m.top.isRunning = false
return
end if