Skip to content

Commit

Permalink
Merge pull request #2 from kopiczko/master
Browse files Browse the repository at this point in the history
Remove unused parserErrors
  • Loading branch information
mitchellh committed Feb 6, 2016
2 parents fcfbf01 + 6ec7ff2 commit 0ab0eeb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/hashicorp/hil/ast"
)

var parserErrors []error
var parserLock sync.Mutex
var parserResult ast.Node

Expand All @@ -19,7 +18,6 @@ func Parse(v string) (ast.Node, error) {
defer parserLock.Unlock()

// Reset our globals
parserErrors = nil
parserResult = nil

// Create the lexer
Expand Down

0 comments on commit 0ab0eeb

Please sign in to comment.