For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Holds if the expression e should be reported as having no effect.
e
import Expressions.ExprHasNoEffect
predicate hasNoEffect(Expr e)