Remove dead code

This commit is contained in:
Luis Díaz Más 2022-01-06 17:01:39 +01:00
parent 061df50cea
commit b96f5af037

View File

@ -63,9 +63,6 @@ namespace
{
assert(strlen(str) <= length);
const long minlen = std::min(static_cast<long>(length), buf.size());
if (minlen == 0) {
return true;
}
return buf.cmpBytes(0, str, minlen) == 0;
}
} // namespace