diff --git a/storage/mozStorageSQLFunctions.cpp b/storage/mozStorageSQLFunctions.cpp index cfeff70b8c4d..c05010c2ff1e 100644 --- a/storage/mozStorageSQLFunctions.cpp +++ b/storage/mozStorageSQLFunctions.cpp @@ -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