summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-10-04 11:35:00 +0000
committerMatt Turner <mattst88@gmail.com>2011-10-06 15:15:09 -0400
commit67a927284dd554712cc743ed5dbbabf8d3a761af (patch)
treeb1364feba6a7d7a6d2ac3d086c6cd1caae842c49
parent712dd8b572114a3605e4f4c444eabefbfb0522aa (diff)
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 <mattst88@gmail.com> Signed-off-by: Guillem Jover <guillem@hadrons.org>
-rw-r--r--src/laygram.y2
1 files changed, 1 insertions, 1 deletions
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;