Skip to content

Commit 276afd3

Browse files
authored
[NB] remove unused and erronous code (#12992)
1 parent dd05c31 commit 276afd3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

OMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,6 @@ public
18731873
Pointer<Variable> var;
18741874
Integer sk = 1;
18751875
list<Subscript> subs;
1876-
list<Option<Integer>> int_subs;
18771876
algorithm
18781877
if UnorderedMap.contains(cref, map) then
18791878
if not UnorderedMap.contains(cref, dep_map) then
@@ -1885,7 +1884,6 @@ public
18851884
var := BVariable.getVarPointer(cref);
18861885
if BVariable.isRecord(var) then
18871886
subs := ComponentRef.subscriptsAllFlat(cref);
1888-
int_subs := list(Subscript.toIntegerOpt(sub) for sub in subs);
18891887
// get all Record children
18901888
crefs := list(BVariable.getVarName(child) for child in BVariable.getRecordChildren(var));
18911889
// add original subscripts

0 commit comments

Comments
 (0)