From 0c63b665448af0955cdcca008e6a45bee1569bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 7 Jan 2025 09:34:45 +0100 Subject: [PATCH] Special case not needed --- src/data.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/data.cpp b/src/data.cpp index e4d9f98..2f22549 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -325,9 +325,6 @@ static bool layer(CTX &ctx, Data::Layer &l) bool Data::load(const QByteArray &ba) { - if (ba.isEmpty()) - return true; - CTX ctx(ba); while (ctx.bp < ctx.be) {