From 67a927284dd554712cc743ed5dbbabf8d3a761af Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 4 Oct 2011 11:35:00 +0000 Subject: Remove unused label Fixes gcc warning: laygram.c: In function 'LayYYparse': laygram.y:242:7: warning: label 'unary' defined but not used [-Wunused-label] Reviewed-by: Matt Turner Signed-off-by: Guillem Jover --- src/laygram.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laygram.y b/src/laygram.y index cd8d18f..e6a75d7 100644 --- a/src/laygram.y +++ b/src/laygram.y @@ -239,7 +239,7 @@ expr : expr PLUS expr | expr PERCENTOF expr { goto binary; } | MINUS expr %prec UMINUS - { unary: ; + { $$ = New(ExprRec); $$->type = Unary; $$->u.unary.op = $1; -- cgit v1.2.3