Fix warning. It looks invalid, but that code is indeed weird.