PATCH: tools/widl/parser.y fix
Gerald Pfeifer
pfeifer at dbai.tuwien.ac.at
Sun Nov 24 02:43:58 CST 2002
This fixes the following warnings:
./parser.y:593: warning: deprecated use of label at end of compound statement
./parser.y:642: warning: deprecated use of label at end of compound statement
Gerald
ChangeLog:
Avoid using labels at the end of commpound statements.
Index: parser.y
===================================================================
RCS file: /home/wine/wine/tools/widl/parser.y,v
retrieving revision 1.5
diff -u -3 -p -r1.5 parser.y
--- parser.y 21 Nov 2002 00:02:38 -0000 1.5
+++ parser.y 24 Nov 2002 08:34:40 -0000
@@ -589,7 +589,7 @@ static expr_t *make_expr1(enum expr_type
case EXPR_NEG:
expr->u.lval = -expr->u.lval;
return expr;
- default:
+ default: ;
}
}
e = xmalloc(sizeof(expr_t));
@@ -638,7 +638,7 @@ static expr_t *make_expr2(enum expr_type
expr1->u.lval >>= expr2->u.lval;
free(expr2);
return expr1;
- default:
+ default: ;
}
}
e = xmalloc(sizeof(expr_t));
More information about the wine-patches
mailing list