patternMatcher: initialize the indirectVals map

This commit is contained in:
Frank Denis 2018-04-08 08:42:02 +02:00
parent 10baa245b2
commit 4439040bc8
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ func NewPatternPatcher() *PatternMatcher {
patternMatcher := PatternMatcher{ patternMatcher := PatternMatcher{
blockedPrefixes: critbitgo.NewTrie(), blockedPrefixes: critbitgo.NewTrie(),
blockedSuffixes: critbitgo.NewTrie(), blockedSuffixes: critbitgo.NewTrie(),
indirectVals: make(map[string]interface{}),
} }
return &patternMatcher return &patternMatcher
} }