Skip to content

Commit

Permalink
- C99 issues.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22253 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 10, 2014
1 parent f53eacf commit 2a53044
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/runtime/FMIImpl.c
Expand Up @@ -614,7 +614,8 @@ void FMIImpl__initializeFMI2Import(fmi2_import_t* fmi, void** fmiInfo, fmi_versi
max = fmi2_import_get_enum_type_max(enumTypeDef);
itemsSize = fmi2_import_get_enum_type_size(enumTypeDef);

for(unsigned j = itemsSize; j > 0; --j) {
unsigned j;
for(j = itemsSize; j > 0; --j) {
const char* itemName = fmi2_import_get_enum_type_item_name(enumTypeDef, j);
const char* itemDescription = fmi2_import_get_enum_type_item_description(enumTypeDef, j);
enumItem = FMI__ENUMERATIONITEM(mk_scon_check_null(itemName), mk_scon_check_null(itemDescription));
Expand Down

0 comments on commit 2a53044

Please sign in to comment.