Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 648335d

Browse files
committed
Java: Remove two unnecessary unbinds.
1 parent b31cd8a commit 648335d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,12 @@ private predicate flowCand0(Node node, boolean toReturn, AccessPathFront apf, Co
11751175
exists(Content f, AccessPathFront apf0 |
11761176
flowCandStore(node, f, toReturn, apf0, config) and
11771177
apf0.headUsesContent(f) and
1178-
consCand(f, apf, unbind(config))
1178+
consCand(f, apf, config)
11791179
)
11801180
or
11811181
exists(Content f, AccessPathFront apf0 |
11821182
flowCandRead(node, f, toReturn, apf0, config) and
1183-
consCandFwd(f, apf0, unbind(config)) and
1183+
consCandFwd(f, apf0, config) and
11841184
apf.headUsesContent(f)
11851185
)
11861186
}

0 commit comments

Comments
 (0)