diff --git a/template.go b/template.go
index <HASH>..<HASH> 100644
--- a/template.go
+++ b/template.go
@@ -51,7 +51,6 @@ func generateFile(config Config, containers []*RuntimeContainer) bool {
 		filteredContainers = containers
 	}
 
-	tmpl = tmpl
 	dest := os.Stdout
 	if config.Dest != "" {
 		dest, err = ioutil.TempFile("", "docker-gen")
go vet fix: self-assignment of tmpl to tmpl