Dear community,
I'm reading "Develop in Swift Fundamentals", and on page 89 it asks us to open a file from the downloaded file (page 9 - Download Student Materials link).
I was running the last part of the exercise of page 89 and it seems I got stuck when trying to remove the last compile warning message:
"1. Condition always evaluates to false"
"Will never be executed"
Please take a look at the screenshot, where you can see the whole code and context.
I have tried to add a few breakpoints (rows 10 to 12) in order to see if they would get ignored but it looks like it's still there.
Any idea how to remove / get rid of this compile warning message?
Thanks, Rodrigo