mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
7 lines
155 B
Plaintext
7 lines
155 B
Plaintext
import java
|
|
|
|
from IfStmt ifstmt, Block block
|
|
where
|
|
block = ifstmt.getThen() and
|
|
block.getNumStmt() = 0
|
|
select ifstmt, "This if-statement is redundant." |