summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-11-02 12:04:41 -0400
committerRich Felker <dalias@aerifal.cx>2018-11-02 12:04:41 -0400
commit0239cd0681e889a269fb7691f60e81ef8d081e6b (patch)
treedb2058774aeb603fa70e0de662b0fc411c0ad00f
parent8f5a820d147da36bcdbddd201b35d293699dacd8 (diff)
downloadmusl-0239cd0681e889a269fb7691f60e81ef8d081e6b.tar.gz
remove commented-out debug printf from strstr
this was leftover from before the initial commit.
-rw-r--r--src/string/strstr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string/strstr.c b/src/string/strstr.c
index c80e9caf..c7d66682 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -108,7 +108,6 @@ static char *twoway_strstr(const unsigned char *h, const unsigned char *n)
/* Check last byte first; advance by shift on mismatch */
if (BITOP(byteset, h[l-1], &)) {
k = l-shift[h[l-1]];
- //printf("adv by %zu (on %c) at [%s] (%zu;l=%zu)\n", k, h[l-1], h, shift[h[l-1]], l);
if (k) {
if (mem && k < p) k = l-p;
h += k;