Skip to content

Commit f84a308

Browse files
Address review comment about ignored QL variable
Co-authored-by: Anders Schack-Mulligen <[email protected]>
1 parent 0739c03 commit f84a308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/Overlay.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private predicate discardReferableLocatable(@locatable el) {
8383
}
8484

8585
overlay[local]
86-
private predicate baseConfigLocatable(@configLocatable l) { not isOverlay() and l = l }
86+
private predicate baseConfigLocatable(@configLocatable l) { not isOverlay() and exists(l) }
8787

8888
overlay[local]
8989
private predicate overlayHasConfigLocatables() {

0 commit comments

Comments
 (0)