From 9d986345e62c572c1811e0e9e4604bd6ed3e7372 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Thu, 31 Aug 2023 18:03:57 +0200 Subject: [PATCH] remove shadowed variable --- legacy/builder/add_additional_entries_to_context.go | 1 - 1 file changed, 1 deletion(-) diff --git a/legacy/builder/add_additional_entries_to_context.go b/legacy/builder/add_additional_entries_to_context.go index e33b8f93f9e..843cbdcd79e 100644 --- a/legacy/builder/add_additional_entries_to_context.go +++ b/legacy/builder/add_additional_entries_to_context.go @@ -26,7 +26,6 @@ func AddAdditionalEntriesToContext(buildPath *paths.Path, warningLevel string) ( var err error if buildPath != nil { - buildPath := buildPath sketchBuildPath, err = buildPath.Join(constants.FOLDER_SKETCH).Abs() if err != nil { return nil, nil, nil, "", errors.WithStack(err)