Fix static-code-analysis findings.
This commit is contained in:
@@ -65,14 +65,14 @@ namespace Assimp {
|
||||
/** Small helper structure representing a shortcut into the material list
|
||||
* to be able to update some values quickly.
|
||||
*/
|
||||
struct TTUpdateInfo
|
||||
{
|
||||
TTUpdateInfo() :
|
||||
directShortcut (NULL)
|
||||
, mat (NULL)
|
||||
, semantic (0)
|
||||
, index (0)
|
||||
{}
|
||||
struct TTUpdateInfo {
|
||||
TTUpdateInfo() noexcept
|
||||
: directShortcut(nullptr)
|
||||
, mat(nullptr)
|
||||
, semantic(0)
|
||||
, index(0) {
|
||||
// empty
|
||||
}
|
||||
|
||||
//! Direct shortcut, if available
|
||||
unsigned int* directShortcut;
|
||||
@@ -88,15 +88,14 @@ struct TTUpdateInfo
|
||||
// ---------------------------------------------------------------------------
|
||||
/** Helper class representing texture coordinate transformations
|
||||
*/
|
||||
struct STransformVecInfo : public aiUVTransform
|
||||
{
|
||||
|
||||
STransformVecInfo()
|
||||
: uvIndex (0)
|
||||
, mapU (aiTextureMapMode_Wrap)
|
||||
, mapV (aiTextureMapMode_Wrap)
|
||||
, lockedPos (AI_TT_UV_IDX_LOCK_NONE)
|
||||
{}
|
||||
struct STransformVecInfo : public aiUVTransform {
|
||||
STransformVecInfo() noexcept
|
||||
: uvIndex(0)
|
||||
, mapU(aiTextureMapMode_Wrap)
|
||||
, mapV(aiTextureMapMode_Wrap)
|
||||
, lockedPos(AI_TT_UV_IDX_LOCK_NONE) {
|
||||
// empty
|
||||
}
|
||||
|
||||
//! Source texture coordinate index
|
||||
unsigned int uvIndex;
|
||||
|
||||
Reference in New Issue
Block a user