Fixed warnings on const comparison.
Warnings on expressions with no effects. Fixed const ternary. Fixed ternary with struct/union types as the true/false-branch expressions.
This commit is contained in:
@@ -139,6 +139,7 @@ void Assignment (ExprDesc* Expr)
|
||||
ExprDesc Expr2;
|
||||
Type* ltype = Expr->Type;
|
||||
|
||||
ED_Init (&Expr2);
|
||||
|
||||
/* We must have an lvalue for an assignment */
|
||||
if (ED_IsRVal (Expr)) {
|
||||
|
||||
Reference in New Issue
Block a user