Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24692 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 21, 2015
1 parent 5bff6b5 commit 7c61922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Util/Array.mo
Expand Up @@ -91,12 +91,12 @@ public function findFirstOnTrue<T>
output Boolean outMatch;
end FuncType;
algorithm
outElement := NONE();
for e in inArray loop
if inPredicate(e) then
outElement := SOME(e);
end if;
end for;
outElement := NONE();
end findFirstOnTrue;

public function select<T>
Expand Down

0 comments on commit 7c61922

Please sign in to comment.