Fix system unchecked return warning