diff --git a/gin.go b/gin.go index 32d0d149..e0a52dba 100644 --- a/gin.go +++ b/gin.go @@ -211,7 +211,6 @@ func (engine *Engine) LoadHTMLFiles(files ...string) { // LoadHTMLFilesRecursively loads recursively a slice of HTML files mathing an extension // and associates the result with HTML renderer. func (engine *Engine) LoadHTMLFilesRecursively(folder string, extensionsAllowed []string) { - files := []string{} sort.Strings(extensionsAllowed)