1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 09:05:14 +01:00

Unify unsupported data handling

This commit is contained in:
Martin Tůma 2020-09-29 22:03:26 +02:00
parent 1f52dad1c6
commit 56b7014eaf

View File

@ -13,10 +13,10 @@ bool HuffmanStreamF::init(bool line)
quint32 eb; quint32 eb;
if (!_bs.read(1, eb)) if (!_bs.read(1, eb))
return false; return false;
if (eb) {
qWarning() << "Extended lines/polygons not supported"; Q_ASSERT(!eb);
if (eb)
return false; return false;
}
return true; return true;
} }