зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1346859 - Remove dead code found by clang-tidy in unix/nsOSHelperAppService.cpp r=froydnj
MozReview-Commit-ID: H8lanTsuNxX --HG-- extra : rebase_source : ab3745d6de24a787c7ae80edb98bbc213425a38b
This commit is contained in:
Родитель
8a94c7de5f
Коммит
c12eaea678
|
@ -731,10 +731,6 @@ nsOSHelperAppService::ParseNetscapeMIMETypesEntry(const nsAString& aEntry,
|
|||
--aDescriptionEnd;
|
||||
} while (aDescriptionEnd != aDescriptionStart &&
|
||||
nsCRT::IsAsciiSpace(*aDescriptionEnd));
|
||||
|
||||
if (aDescriptionStart != aDescriptionStart && *aDescriptionEnd == '"') {
|
||||
--aDescriptionEnd;
|
||||
}
|
||||
} else {
|
||||
// desc= after exts=, so use end_iter for the description end
|
||||
aDescriptionEnd = end_iter;
|
||||
|
|
Загрузка…
Ссылка в новой задаче