[NFC][Asan] Fix clang-tidy warning

This commit is contained in:
Vitaly Buka 2020-09-05 19:09:41 -07:00
parent 9128f5c8a7
commit 289c08e4bc
1 changed files with 1 additions and 2 deletions

View File

@ -1142,9 +1142,8 @@ IgnoreObjectResult IgnoreObjectLocked(const void *p) {
return kIgnoreObjectAlreadyIgnored;
m->lsan_tag = __lsan::kIgnored;
return kIgnoreObjectSuccess;
} else {
return kIgnoreObjectInvalid;
}
return kIgnoreObjectInvalid;
}
} // namespace __lsan