Skip to content

Commit

Permalink
Skip printing the name of the component if the value is unused...
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18017 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 5, 2013
1 parent 4c6af45 commit aab273a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Compiler/FrontEnd/Static.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6495,7 +6495,6 @@ algorithm
ErrorExt.setCheckpoint("elabCall_InteractiveFunction");
fn_1 = Absyn.crefToPath(fn);
(cache,e,prop) = elabCallArgs(cache,env, fn_1, args, nargs, impl, st,pre,info);
fnstr = Dump.printComponentRefStr(fn);
ErrorExt.delCheckpoint("elabCall_InteractiveFunction");
then
(cache,e,prop,st);
Expand All @@ -6504,7 +6503,6 @@ algorithm
case (cache,env,fn,args,nargs,(impl as false),st,pre,_,_)
equation
false = hasBuiltInHandler(fn);
fnstr = Dump.printComponentRefStr(fn);
fn_1 = Absyn.crefToPath(fn);
(cache,e,prop) = elabCallArgs(cache,env, fn_1, args, nargs, impl, st,pre,info);
then
Expand Down

0 comments on commit aab273a

Please sign in to comment.