mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
9 lines
138 B
Plaintext
9 lines
138 B
Plaintext
import java
|
|
|
|
predicate isEmpty(Block block) {
|
|
block.getNumStmt() = 0
|
|
}
|
|
|
|
from IfStmt ifstmt
|
|
where isEmpty(ifstmt.getThen())
|
|
select ifstmt |