diff --git a/include/assimp/mesh.h b/include/assimp/mesh.h index 878620e4c..66ddf8e75 100644 --- a/include/assimp/mesh.h +++ b/include/assimp/mesh.h @@ -987,7 +987,7 @@ struct aiMesh { if (mTextureCoordsNames == nullptr) { // Construct and null-init array - mTextureCoordsNames = new aiString *[AI_MAX_NUMBER_OF_TEXTURECOORDS] {}; + mTextureCoordsNames = new aiString *[AI_MAX_NUMBER_OF_TEXTURECOORDS]; } if (texCoordsName.length == 0) {