From cff4bb40fe682c6c1b1462df9f2dc35da1d6c985 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 23 Mar 2015 01:02:04 +0100 Subject: Remove unused variable --- lexer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer.go b/lexer.go index c43ba94..e5e025b 100644 --- a/lexer.go +++ b/lexer.go @@ -24,7 +24,7 @@ func (y *yyLex) Error(s string) { log.Println(s) } -func (y *yyLex) Lex(lval *yySymType) (ret int) { +func (y *yyLex) Lex(lval *yySymType) int { item := <-y.items switch item.typ { case STRING: -- cgit v1.2.3