By finding and removing the unreachable code (or making it reachable)?
Impossible to say much more without some kind of example, but the
compiler is probably correct. It usually means you have code after a
"return" or "throw" (in the same branch), or that all branches in an
"if" or "switch" block either "return" or "throw", and you have code
following the block.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.