Skip to content

Commit

Permalink
Remove unnecessary failure calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Aug 16, 2019
1 parent 28e53ad commit bcd3502
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OMCompiler/Compiler/FrontEnd/AbsynToSCode.mo
Expand Up @@ -717,7 +717,6 @@ algorithm
als_1;
case (cp :: rest) /* ignore everthing other than algorithms */
equation
failure(Absyn.ALGORITHMS() = cp);
als = translateClassdefAlgorithms(rest);
then
als;
Expand Down Expand Up @@ -749,7 +748,6 @@ algorithm
cos_1;
case (cp :: rest) /* ignore everthing other than Constraints */
equation
failure(Absyn.CONSTRAINTS() = cp);
cos = translateClassdefConstraints(rest);
then
cos;
Expand Down

0 comments on commit bcd3502

Please sign in to comment.