aboutsummaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-11-24 12:32:11 +0200
committerGravatar GitHub <noreply@github.com> 2023-11-24 11:32:11 +0100
commitd3397c64edaf92713ea6233d840fe3d11891e13d (patch)
treecec9402170ae8e9e9164400dc6c411a8de6436d8 /args.go
parentEnable dupword, unconvert linters (#1658) (diff)
downloadfasthttp-d3397c64edaf92713ea6233d840fe3d11891e13d.tar.gz
fasthttp-d3397c64edaf92713ea6233d840fe3d11891e13d.tar.bz2
fasthttp-d3397c64edaf92713ea6233d840fe3d11891e13d.zip
Enable wastedassign, whitespace linters; fix issues (#1665)
Diffstat (limited to 'args.go')
-rw-r--r--args.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/args.go b/args.go
index 9cc1106..1a1429c 100644
--- a/args.go
+++ b/args.go
@@ -551,7 +551,7 @@ func decodeArgAppend(dst, src []byte) []byte {
return append(dst, src...)
}
- idx := 0
+ var idx int
switch {
case idxPercent == -1:
idx = idxPlus