Minor modifications
This commit is contained in:
parent
d8f83d86c5
commit
7d17cd00fb
|
@ -9,7 +9,7 @@
|
|||
<name>Modèle de test</name>
|
||||
<author>Adrien Bourmault</author>
|
||||
<author_id>1</author_id>
|
||||
<date>1629822515</date> <!-- TODO timestamp ? -->
|
||||
<date>1629822515</date>
|
||||
<version>1.0</version>
|
||||
|
||||
</identity>
|
||||
|
|
|
@ -341,8 +341,7 @@ static inline void CreateField(ModelField_t *modelField,
|
|||
|
||||
static inline int ModelParseFile(Model_t *model)
|
||||
{
|
||||
char date[25];
|
||||
|
||||
// XML expected file structure
|
||||
ModelField_t identityField;
|
||||
ModelField_t identityNameField;
|
||||
ModelField_t identityAuthorField;
|
||||
|
@ -352,6 +351,9 @@ static inline int ModelParseFile(Model_t *model)
|
|||
ModelField_t parametersModelizationField;
|
||||
ModelField_t parametersSpaceField;
|
||||
|
||||
// Temporary variables to store values to modify
|
||||
char date[25];
|
||||
|
||||
CreateField(&identityField,
|
||||
"identity", false, NULL, 0, &identityNameField, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue