45,46c45,46
< self.expr.error("Non-void return must not be ignored, " + \
< "return type is '%s'", actual_type.ident)
---
> self.expr.warning("Non-void return ignored, " + \
> "return type is '%s'", actual_type.ident)