Revert "Issue 11066 - Spurious warning 'statement is not reachable' with...

... -profile"