1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-03-15 03:17:44 +01:00

Silence MSVC C4018 warnings

This commit is contained in:
Martin Tůma 2025-03-08 18:06:20 +01:00
parent 7731cfaa4f
commit a2f1ef7572

View File

@ -133,9 +133,7 @@ bool RGNFile::readBuoyInfo(Handle &hdl, quint8 flags, quint32 size,
bool RGNFile::readLightInfo(Handle &hdl, quint8 flags, quint32 size,
MapData::Point *point) const
{
quint16 flags1;
quint8 flags2;
quint32 unused;
quint32 flags1, flags2, unused;
if (!(size >= 3 && readUInt16(hdl, flags1) && readUInt8(hdl, flags2)))
return false;