From 0b6fade8fd6b6ae2ebd914558262b0096a355c11 Mon Sep 17 00:00:00 2001 From: buffermet <29265684+buffermet@users.noreply.github.com> Date: Sat, 22 Feb 2025 19:46:58 +0100 Subject: [PATCH] Remove unused var --- modules/dns_proxy/dns_proxy_js_query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dns_proxy/dns_proxy_js_query.go b/modules/dns_proxy/dns_proxy_js_query.go index 79b55e2a..24f7ae24 100644 --- a/modules/dns_proxy/dns_proxy_js_query.go +++ b/modules/dns_proxy/dns_proxy_js_query.go @@ -170,7 +170,7 @@ func jsPropToUint64(obj map[string]interface{}, key string) uint64 { return uint64(0) } -func uint16ArrayToInt64Array(arr []uint16, key string) []int64 { +func uint16ArrayToInt64Array(arr []uint16) []int64 { vArr := make([]int64, 0, len(arr)) for _, item := range arr { vArr = append(vArr, int64(item))