Re #6142 Fix warning