зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1862507 - mozStorageSQLFunctions.cpp: do not use 'else' after 'return'. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D193493
This commit is contained in:
Родитель
850f8d749e
Коммит
1239337577
|
@ -83,7 +83,8 @@ int likeCompare(nsAString::const_iterator aPatternItr,
|
|||
|
||||
// No match
|
||||
return 0;
|
||||
} else if (!lastWasEscape && *aPatternItr == MATCH_ONE) {
|
||||
}
|
||||
if (!lastWasEscape && *aPatternItr == MATCH_ONE) {
|
||||
// CASE 2
|
||||
if (aStringItr == aStringEnd) {
|
||||
// If we've hit the end of the string we are testing, no match
|
||||
|
|
Загрузка…
Ссылка в новой задаче