Libary: Fixed gcc warning -Wmissing-field-initializers

This commit is contained in:
orbitcowboy 2014-06-13 13:17:08 +02:00
parent 0f7071a000
commit 28763fa020
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ Library::Error Library::load(const tinyxml2::XMLDocument &doc)
const char * const name = node->Attribute("name");
if (!name)
return Error(MISSING_ATTRIBUTE, "name");
PodType podType = {0};
PodType podType = {0,0};
const char * const size = node->Attribute("sizeof");
if (size)
podType.size = atoi(size);