Commit fa021199 authored by Geoff Simmons's avatar Geoff Simmons

Delete some dead code.

parent cb23a30e
......@@ -407,15 +407,6 @@ qp_search(const struct qp_y * const restrict y,
l = y->off + y->len;
if (l > len)
return (0);
#if 0
if (y->len > 0) {
if (y->off > 0 && subject[y->off] != strings[y->idx][y->off])
return (0);
if (memcmp(subject + y->off, strings[y->idx] + y->off, y->len)
!= 0)
return (0);
}
#endif
if (y->len > 0
&& memcmp(subject + y->off, strings[y->idx] + y->off, y->len) != 0)
return (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment