Skip to content

Commit 264462c

Browse files
committed
more format fix
1 parent 7ce6ae3 commit 264462c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎source/h5vol/H5VolReadWrite.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ adios2_attribute *gADIOS2CreateAttr(adios2_io *io, H5VL_AttrDef_t *input, const
11751175
adios2_define_attribute_array(io, fullPath, attrType, arrayOfStr, shape[0]);
11761176
for (i = 0; i < shape[0]; i++)
11771177
free(arrayOfStr[i]);
1178-
free (shape);
1178+
free(shape);
11791179
return result;
11801180
}
11811181
}
@@ -1184,8 +1184,8 @@ adios2_attribute *gADIOS2CreateAttr(adios2_io *io, H5VL_AttrDef_t *input, const
11841184
// return adios2_define_attribute_array(io, fullPath, attrType,
11851185
// &(input->m_Data), shape[0]);
11861186
adios2_attribute *result =
1187-
adios2_define_attribute_array(io, fullPath, attrType, (input->m_Data), shape[0]);
1188-
free (shape);
1187+
adios2_define_attribute_array(io, fullPath, attrType, (input->m_Data), shape[0]);
1188+
free(shape);
11891189
return result;
11901190
}
11911191
}

‎source/h5vol/H5Vol_link.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ herr_t H5VL_adios2_link_get(void *obj, const H5VL_loc_params_t *loc_params,
6565
if ((GROUP == vol->m_ObjType) || (ROOT == vol->m_ObjType))
6666
{
6767
// so idx makes sense
68-
*ret = (size_t)gGetNameOfNthItem(vol, (uint32_t)(loc_params->loc_data.loc_by_idx.n), name);
68+
*ret =
69+
(size_t)gGetNameOfNthItem(vol, (uint32_t)(loc_params->loc_data.loc_by_idx.n), name);
6970
return 0;
7071
}
7172
break;

0 commit comments

Comments
 (0)