[PATCH libXaw3d 2/5] Remove unused label

Guillem Jover guillem at hadrons.org
Mon Oct 3 20:35:00 PDT 2011


Fixes gcc warning:
laygram.c: In function 'LayYYparse':
laygram.y:242:7: warning: label 'unary' defined but not used [-Wunused-label]

Signed-off-by: Guillem Jover <guillem at hadrons.org>
---
 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;
-- 
1.7.6.3



More information about the xorg-devel mailing list