Swift 2: Immutable value X is never used consider replacing with ‘_’

These changes are recommended because if you don’t use these variables at all you should consider replacing it with ‘_’. So you (and other people) can later understand your intention more quickly.

In terms of performance it would probably be just a minor improvement which you can’t notice at all. The same situation applies during compilation and optimization of your code.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)