[ 2659155 ] Missing initializations

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@353 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2009-03-04 19:46:18 +00:00
parent dfdca556fd
commit c42611ea5e
2 changed files with 5 additions and 1 deletions

View File

@ -313,7 +313,10 @@ DefaultLogger::DefaultLogger(LogSeverity severity)
: m_Severity ( severity )
, noRepeatMsg (false)
{}
, lastLen( 0 )
{
lastMsg[0] = '\0';
}
// ----------------------------------------------------------------------------------
// Destructor

View File

@ -177,6 +177,7 @@ struct Material
: diffuse (0.6f,0.6f,0.6f)
, ior (1.f)
, alpha (1.f)
, shineness (0.0f)
, illumination_model (1)
{
// empty