Skip to content

Commit b96f5af

Browse files
committed
Remove dead code
1 parent 061df50 commit b96f5af

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pngimage.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ namespace
6363
{
6464
assert(strlen(str) <= length);
6565
const long minlen = std::min(static_cast<long>(length), buf.size());
66-
if (minlen == 0) {
67-
return true;
68-
}
6966
return buf.cmpBytes(0, str, minlen) == 0;
7067
}
7168
} // namespace

0 commit comments

Comments
 (0)