Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Fix uninitialized variable in Lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 13, 2017
1 parent fec4a09 commit 03dd6d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/FrontEnd/Lookup.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3162,6 +3162,7 @@ algorithm
(cache,DAE.ATTR(ct,prl,vt,di,io,vis),tyChild,binding,cnstForRange,InstTypes.SPLICEDEXPDATA(texp,idTp),_,componentEnv,name) := lookupVar(cache, componentEnv, ids);

ltCref := elabComponentRecursive((texp));
ty := tyChild; // In case it's an unspliced expression
oSplicedExp := match ltCref
case (tCref::_) // with a spliced exp
algorithm
Expand Down

0 comments on commit 03dd6d2

Please sign in to comment.