mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
docs: rename ql-training-rst > ql-training
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java
|
||||
|
||||
from IfStmt ifstmt, Block block
|
||||
where
|
||||
block = ifstmt.getThen() and
|
||||
block.getNumStmt() = 0
|
||||
select ifstmt, "This if-statement is redundant."
|
||||
Reference in New Issue
Block a user