Return statements

Author: LGTM

import cpp

from ReturnStmt r
where r.getExpr().(Literal).getValue().toInt() = 0
select r

Description

Finds return statements that return `0`