Remove dead code from the BoyerMoore implementation.

remotes/origin/master-1.0.x
Victor Julien 15 years ago
parent 7e469bc926
commit 0a927c3eeb

@ -298,7 +298,7 @@ uint8_t *BoyerMoore(uint8_t *x, int32_t m, uint8_t *y, int32_t n, int32_t *bmGs,
if (i < 0) {
return y + j;
j += bmGs[0];
//j += bmGs[0];
} else {
// printf("%c", y[i+j]);
j += (m1 = bmGs[i]) > (m2 = bmBc[y[i + j]] - m + 1 + i)? m1: m2;

Loading…
Cancel
Save