fixed suppression of return value on warnings