mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
12 lines
178 B
Plaintext
12 lines
178 B
Plaintext
import java
|
|
|
|
class EmptyBlock extends Block {
|
|
EmptyBlock() {
|
|
this.getNumStmt() = 0
|
|
|
|
}
|
|
|
|
from IfStmt ifstmt
|
|
where ifstmt.getThen() instanceof
|
|
EmptyBlock
|
|
select ifstmt |