diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-10-04 11:35:00 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-10-06 15:15:09 -0400 |
commit | 67a927284dd554712cc743ed5dbbabf8d3a761af (patch) | |
tree | b1364feba6a7d7a6d2ac3d086c6cd1caae842c49 /src | |
parent | 712dd8b572114a3605e4f4c444eabefbfb0522aa (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/laygram.y | 2 |
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; |