Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dg-pb committed Jun 25, 2024
1 parent 2437983 commit ea0f362
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Objects/stringlib/fastsearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ STRINGLIB(horspool_find)(const STRINGLIB_CHAR* haystack,
STRINGLIB_CHAR s_last;
// Counters
Py_ssize_t count = 0;
Py_ssize_t iloop = 0, iloop_last = 0;
Py_ssize_t iloop = 0;
Py_ssize_t ihits = 0, ihits_last = 0;
// Loop
for (i = 0; i <= w;) {
Expand Down Expand Up @@ -876,7 +876,6 @@ STRINGLIB(horspool_find)(const STRINGLIB_CHAR* haystack,
}
}
ihits_last = ihits;
iloop_last = iloop;
}
}
// Loop Counter and False Hit Counter Logging
Expand Down

0 comments on commit ea0f362

Please sign in to comment.