Fixed fallthrough warnings.
This commit is contained in:
@@ -921,7 +921,9 @@ bool lcPiecesLibrary::ReadArchiveCacheFile(const QString& FileName, lcMemFile& C
|
||||
{
|
||||
case Z_NEED_DICT:
|
||||
ret = Z_DATA_ERROR;
|
||||
Q_FALLTHROUGH();
|
||||
case Z_DATA_ERROR:
|
||||
Q_FALLTHROUGH();
|
||||
case Z_MEM_ERROR:
|
||||
(void)inflateEnd(&strm);
|
||||
return ret;
|
||||
@@ -2715,6 +2717,7 @@ void lcLibraryMeshData::AddLine(lcMeshDataType MeshDataType, int LineType, quint
|
||||
Section->mIndices.Add(Indices[2]);
|
||||
}
|
||||
}
|
||||
Q_FALLTHROUGH();
|
||||
|
||||
case 3:
|
||||
if (Indices[0] != Indices[1] && Indices[0] != Indices[2] && Indices[1] != Indices[2])
|
||||
@@ -2911,6 +2914,7 @@ void lcLibraryMeshData::AddTexturedLine(lcMeshDataType MeshDataType, int LineTyp
|
||||
Section->mIndices.Add(Indices[2]);
|
||||
}
|
||||
}
|
||||
Q_FALLTHROUGH();
|
||||
case 3:
|
||||
if (Indices[0] != Indices[1] && Indices[0] != Indices[2] && Indices[1] != Indices[2])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user