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