Skip to content

Commit

Permalink
- Fixed UnitChecker,UnitAbsynBuilder RML warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Oct 30, 2010
1 parent c743912 commit 867a4b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
25 changes: 13 additions & 12 deletions Compiler/UnitAbsynBuilder.mo
Expand Up @@ -23,7 +23,6 @@ protected import Lookup;
protected import OptManager;
protected import SCode;
protected import SCodeUtil;
protected import System;
protected import Types;
protected import UnitParserExt;
protected import Util;
Expand Down Expand Up @@ -944,17 +943,19 @@ protected function buildTermExp "help function to buildTerms, handles expression
output UnitAbsyn.Store outStore;
algorithm
(ut,extraTerms,outStore) := matchcontinue(env,exp,divOrMul,ht,store)
local Real r; DAE.Operator op; Integer indx; UnitAbsyn.UnitTerm ut,ut1,ut2; String s1,crStr;
DAE.ComponentRef cr;
DAE.Exp e,e1,e2;
Absyn.Path path;
UnitAbsyn.UnitTerm ut;
list<list<tuple<DAE.Exp, Boolean>>> mexpl;
list<UnitAbsyn.UnitTerm> terms1,terms2,terms,uts;
list<DAE.Exp> expl;
UnitAbsyn.Unit u;
Integer i;
Real r;
local
Real r;
DAE.Operator op;
Integer indx,i;
UnitAbsyn.UnitTerm ut,ut1,ut2;
String s1,crStr;
DAE.ComponentRef cr;
DAE.Exp e,e1,e2;
Absyn.Path path;
list<list<tuple<DAE.Exp, Boolean>>> mexpl;
list<UnitAbsyn.UnitTerm> terms1,terms2,terms,uts;
list<DAE.Exp> expl;
UnitAbsyn.Unit u;

/*case(env,e as DAE.RCONST(r),ht,store) equation
s1 = realString(r);
Expand Down
1 change: 0 additions & 1 deletion Compiler/UnitChecker.mo
Expand Up @@ -164,7 +164,6 @@ algorithm
local
UnitAbsyn.Store st1,st2,st3,st4;
UnitAbsyn.UnitCheckResult res1,res2,res3,res4;
UnitAbsyn.Store st1,st2,st3,st4;
UnitAbsyn.UnitTerm ut1,ut2;
UnitAbsyn.SpecUnit su1,su2,su3;
MMath.Rational expo1;
Expand Down

0 comments on commit 867a4b5

Please sign in to comment.