#3412 closed defect (duplicate)
Create a warning for variables that are not used in all if branches
Reported by: | Willi Braun | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | MetaModelica | Version: | trunk |
Keywords: | Cc: |
Description
With the commithttps://github.com/wibraun/OMCompiler/commit/afb23b09bddd471aa44af582c5790c5d5295d592#diff-33c917e984132030f7474df4790fd84dR1901 the example https://test.openmodelica.org/libraries/MSL_3.2.1/files/Modelica.Electrical.Analog.Examples.SwitchWithArc.err was fixed.
Before the example was acting random, because the variable b3 had some random value.
Change History (2)
comment:1 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Milestone: | Future → never |
---|
Sorting away the closed as invalid, won't fix and duplicate tickets from Future.
Note:
See TracTickets
for help on using tickets.
This is a duplicate of #3411.