Libary: Fixed gcc warning -Wmissing-field-initializers
This commit is contained in:
parent
0f7071a000
commit
28763fa020
|
@ -319,7 +319,7 @@ Library::Error Library::load(const tinyxml2::XMLDocument &doc)
|
||||||
const char * const name = node->Attribute("name");
|
const char * const name = node->Attribute("name");
|
||||||
if (!name)
|
if (!name)
|
||||||
return Error(MISSING_ATTRIBUTE, "name");
|
return Error(MISSING_ATTRIBUTE, "name");
|
||||||
PodType podType = {0};
|
PodType podType = {0,0};
|
||||||
const char * const size = node->Attribute("sizeof");
|
const char * const size = node->Attribute("sizeof");
|
||||||
if (size)
|
if (size)
|
||||||
podType.size = atoi(size);
|
podType.size = atoi(size);
|
||||||
|
|
Loading…
Reference in New Issue