Apparently, a void cast doesn't override warn_unused_result.