Fix "unchecked results" warnings