title: UnusedExpr layout: article

UnusedExpr occurs when a side-effect free expression is used as a
statement. Such a statement has no effect.

Example:
 func f(i int) {
 	i*i
 }