spurious compiler warnings

This commit is contained in:
Adam D. Ruppe 2019-01-02 21:40:02 -05:00
parent ab1f92fc93
commit 87afa5056d
2 changed files with 2 additions and 2 deletions

View File

@ -709,7 +709,7 @@ struct var {
case Type.String: case Type.String:
case Type.Function: case Type.Function:
assert(0); // FIXME assert(0); // FIXME
break; //break;
case Type.Integral: case Type.Integral:
return var(-this.get!long); return var(-this.get!long);
case Type.Floating: case Type.Floating:

View File

@ -2538,7 +2538,7 @@ Expression parseStatement(MyTokenStreamHere)(ref MyTokenStreamHere tokens, strin
return parseFunctionCall(tokens, new AssertKeyword(token)); return parseFunctionCall(tokens, new AssertKeyword(token));
break; //break;
// declarations // declarations
case "var": case "var":
return parseVariableDeclaration(tokens, ";"); return parseVariableDeclaration(tokens, ";");