Re #8568. Fixing a gcc warning