From 43f51a00700e5960fc890e6c3d596846757bf29d Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 6 Feb 2025 10:29:46 +0100 Subject: all: delete dead code go install golang.org/x/tools/cmd/deadcode@latest deadcode -test ./... --- pkg/html/html.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pkg/html') diff --git a/pkg/html/html.go b/pkg/html/html.go index 5429606e2..4893b8377 100644 --- a/pkg/html/html.go +++ b/pkg/html/html.go @@ -30,11 +30,6 @@ var globSearchPath = func() string { return "templates/" }() -// SetGlobSearchPath overrides the default path where syzkaller looks for templates. -func SetGlobSearchPath(path string) { - globSearchPath = path -} - func CreateGlob(glob string) *template.Template { if strings.Contains(glob, string(filepath.Separator)) { panic("glob can't be a path, the files mask is expected") -- cgit mrf-deployment