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:
Patryk Gruszka 2023-11-16 08:19:48 +00:00
Родитель 850f8d749e
Коммит 1239337577
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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