lint cleanup: parameter reassignment

This commit is contained in:
Kurtis Rader
2016-10-20 18:53:31 -07:00
parent 345950ac1b
commit 00303ed07f
14 changed files with 33 additions and 52 deletions

View File

@@ -47,8 +47,8 @@ int wcsfilecmp(const wchar_t *a, const wchar_t *b) {
secondary_diff = (aend - a) - (bend - b);
a = aend - 1;
b = bend - 1;
a = aend - 1; //!OCLINT(parameter reassignment)
b = bend - 1; //!OCLINT(parameter reassignment)
} else {
int diff = towlower(*a) - towlower(*b);
if (diff != 0) return diff > 0 ? 2 : -2;