Fix two unused result warnings.