This function isn't called.
This variable isn't used.
But it's still here just in case.
Dead code makes the codebase heavier and harder to read.
Developers spend time understanding logic that never runs, only to discover it doesn't matter at all.
Rule of thumb:
If it's not used, it's not helping.
Next Topic: Inconsistent Naming Conventions