Fix some unused_mut/unused_result warnings