diff --git a/internal/cnf/loader.go b/internal/cnf/loader.go index 21ff420..64319bf 100644 --- a/internal/cnf/loader.go +++ b/internal/cnf/loader.go @@ -64,8 +64,6 @@ func Load(path string) (ConfigurationFormat, error) { func loadFromExtension(ext string) ConfigurationFormat { - var confFormat ConfigurationFormat - // select configuration or fail if not known switch ext { case "json":