Skip to content

Commit 2c0d22b

Browse files
authored
Merge pull request modelica#4727 from henrikt-ma/redundant-return
Remove redundant 'return' at end of algorithms
2 parents 81e2c95 + 6aaad1d commit 2c0d22b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modelica/Electrical/Analog/Basic/OpAmpDetailed.mo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ model OpAmpDetailed "Detailed model of an operational amplifier"
124124
else
125125
result := (v_out - v_source)/Rout;
126126
end if;
127-
return;
128127
annotation (Documentation(info="<html>
129128
<p>Internal limitation function, designed for OpAmpDetailed, not for purpose of external usage.</p>
130129
</html>"));
@@ -148,7 +147,6 @@ model OpAmpDetailed "Detailed model of an operational amplifier"
148147
else
149148
result := q_sum;
150149
end if;
151-
return;
152150
annotation (Documentation(info="<html>
153151
<p>Internal limitation function, designed for OpAmpDetailed, not for purpose of external usage.</p>
154152
</html>"));

0 commit comments

Comments
 (0)