| ... | ... |
@@ -83,9 +83,7 @@ score_t match_positions(const char *needle, const char *haystack, size_t *positi |
| 83 | 83 |
* just be ranked below any reasonably sized candidates |
| 84 | 84 |
*/ |
| 85 | 85 |
return SCORE_MIN; |
| 86 |
- } |
|
| 87 |
- |
|
| 88 |
- if (n == m) {
|
|
| 86 |
+ } else if (n == m) {
|
|
| 89 | 87 |
/* Since this method can only be called with a haystack which |
| 90 | 88 |
* matches needle. If the lengths of the strings are equal the |
| 91 | 89 |
* strings themselves must also be equal (ignoring case). |