Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make UnusedVariable catch (some) unused assignments, e.g.:
int a = 1; ... a = 2; return a; This doesn't do anything really fancy like detect: int a = 1; if (hashCode() > 0) { a = 2; } else { a = 3; } return a; RELNOTES: Make UnusedVariable match unused assignments too. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=234960717
- Loading branch information