Merge pull request #3835 from 9rnsr/fix13201

[REG2.066a] Issue 13201 - Wrong "Warning: statement is not reachable" error with -w