From c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9 Mon Sep 17 00:00:00 2001 From: Gusted Date: Thu, 18 Nov 2021 01:33:06 +0000 Subject: Remove unnecessary variable assignments (#17695) * Remove unnecessary variable assignments As title * enable ineffassign Co-authored-by: zeripath Co-authored-by: wxiaoguang --- contrib/environment-to-ini/environment-to-ini.go | 1 - 1 file changed, 1 deletion(-) (limited to 'contrib/environment-to-ini') diff --git a/contrib/environment-to-ini/environment-to-ini.go b/contrib/environment-to-ini/environment-to-ini.go index aade251902..03c876aa62 100644 --- a/contrib/environment-to-ini/environment-to-ini.go +++ b/contrib/environment-to-ini/environment-to-ini.go @@ -224,7 +224,6 @@ func DecodeSectionKey(encoded string) (string, string) { if !inKey { if splitter := strings.Index(remaining, "__"); splitter > -1 { section += remaining[:splitter] - inKey = true key += remaining[splitter+2:] } else { section += remaining -- cgit v1.2.3