Fix clang warnings
This commit is contained in:
Родитель
2a9630a3c1
Коммит
800500c52e
|
@ -285,7 +285,11 @@ namespace
|
|||
vertexData.activeFaceListSize = 0;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
assert(curActiveFaceListPos == (indexCount - unused));
|
||||
#else
|
||||
std::ignore = unused;
|
||||
#endif
|
||||
}
|
||||
|
||||
// sort unprocessed faces by highest score
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
#pragma clang diagnostic ignored "-Wcovered-switch-default"
|
||||
#pragma clang diagnostic ignored "-Wfloat-equal"
|
||||
#pragma clang diagnostic ignored "-Wreserved-id-macro"
|
||||
#pragma clang diagnostic ignored "-Wundef"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Загрузка…
Ссылка в новой задаче