No need for extra if !*p here, this line/last scope added, can go beyond the while block.