Skip to content

Commit 1037c2b

Browse files
committed
all comments are alive
1 parent 85a652f commit 1037c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/ql/src/codeql_ql/style/DeadCodeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private AstNode classUnion() {
203203

204204
private AstNode benign() {
205205
not result.getLocation().getFile().getExtension() = ["ql", "qll"] or // ignore dbscheme files
206-
result instanceof BlockComment or
206+
result instanceof Comment or
207207
not exists(result.toString()) or // <- invalid code
208208
// cached-stages pattern
209209
result.(Module).getAMember().(ClasslessPredicate).getName() = "forceStage" or

0 commit comments

Comments
 (0)