Fix warning related to unreachable-code-return, disable warning.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
pull/5045/head
Jackie9527 2023-04-01 15:45:05 +08:00
parent 679eb972e6
commit a87585668d
1 changed files with 7 additions and 0 deletions

View File

@ -266,8 +266,15 @@ void Discreet3DSImporter::ParseMainChunk() {
};
ASSIMP_3DS_END_CHUNK();
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunreachable-code-return"
#endif
// recursively continue processing this hierarchy level
return ParseMainChunk();
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
}
// ------------------------------------------------------------------------------------------------