Cleanup: remove function that does not do anything (#6580)
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
This commit is contained in:
parent
d8bc24349c
commit
7c7746257c
|
@ -343,13 +343,6 @@ func (l *Lexer) run() {
|
|||
}
|
||||
}
|
||||
|
||||
// Release resources used by lexer.
|
||||
func (l *Lexer) close() {
|
||||
for range l.Items {
|
||||
// Consume.
|
||||
}
|
||||
}
|
||||
|
||||
// lineComment is the character that starts a line comment.
|
||||
const lineComment = "#"
|
||||
|
||||
|
|
|
@ -206,7 +206,6 @@ func (p *parser) recover(errp *error) {
|
|||
} else if e != nil {
|
||||
*errp = e.(error)
|
||||
}
|
||||
p.lex.close()
|
||||
}
|
||||
|
||||
// Lex is expected by the yyLexer interface of the yacc generated parser.
|
||||
|
|
Loading…
Reference in New Issue