Initialize all members of aiMeshKey in constructor

pull/1765/head
Turo Lamminen 2018-02-03 16:54:19 +02:00
parent e21b79a8bf
commit 123b9ca71a
1 changed files with 4 additions and 1 deletions

View File

@ -162,7 +162,10 @@ struct aiMeshKey
#ifdef __cplusplus #ifdef __cplusplus
aiMeshKey() { aiMeshKey()
: mTime(0.0)
, mValue(0)
{
} }
/** Construction from a given time and key value */ /** Construction from a given time and key value */