mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
7 lines
152 B
Plaintext
7 lines
152 B
Plaintext
import cpp
|
|
|
|
from IfStmt ifstmt, Block block
|
|
where
|
|
block = ifstmt.getThen() and
|
|
block.isEmpty()
|
|
select ifstmt, "This if-statement is redundant." |