Special case not needed

This commit is contained in:
Martin Tůma 2025-01-07 09:34:45 +01:00
parent 30fee38b25
commit 0c63b66544

View File

@ -325,9 +325,6 @@ static bool layer(CTX &ctx, Data::Layer &l)
bool Data::load(const QByteArray &ba) bool Data::load(const QByteArray &ba)
{ {
if (ba.isEmpty())
return true;
CTX ctx(ba); CTX ctx(ba);
while (ctx.bp < ctx.be) { while (ctx.bp < ctx.be) {