From 28b52273ae85ffbe428e46a7e6d66db8fd8660a3 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 12 May 2021 16:58:33 +0100 Subject: [PATCH] Fix unreachable code lint error --- properties.go | 1 - 1 file changed, 1 deletion(-) diff --git a/properties.go b/properties.go index 1529e72..62ae2d6 100644 --- a/properties.go +++ b/properties.go @@ -786,7 +786,6 @@ func expand(s string, keys []string, prefix, postfix string, values map[string]s } s = s[:start] + new_val + s[end+1:] } - return s, nil } // encode encodes a UTF-8 string to ISO-8859-1 and escapes some characters.