rv: initialise variable map

This commit is contained in:
Trek Hopton 2020-05-19 06:46:47 +00:00
parent ce50b5fbd1
commit 82e7ed29d7
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ func run(rv *revid.Revid, ns *netsender.Sender, l *logger.Logger, nl *netlogger.
} }
func createVarMap() map[string]string { func createVarMap() map[string]string {
var m map[string]string m := make(map[string]string)
for _, v := range config.Variables { for _, v := range config.Variables {
m[v.Name] = v.Type_ m[v.Name] = v.Type_
} }