Skip to content

Commit c2fb309

Browse files
committed
format again
1 parent 681a017 commit c2fb309

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

source/h5vol/H5VolReadWrite.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ htri_t gExistsUnderGrp(H5VL_ObjDef_t *owner, const char *obj_name)
370370
return 0;
371371

372372
size_t len = strlen(owner->m_Path) + 4 + strlen(obj_name);
373-
char *fullPath = (char*)malloc(len);
373+
char *fullPath = (char *)malloc(len);
374374
if (!fullPath)
375375
{
376376
return 0;
@@ -1084,8 +1084,8 @@ adios2_attribute *gADIOS2CreateAttr(adios2_io *io, H5VL_AttrDef_t *input, const
10841084
{
10851085
for (size_t j = 0; j < i; j++)
10861086
free(arrayOfStr[j]);
1087-
free(arrayOfStr);
1088-
return NULL;
1087+
free(arrayOfStr);
1088+
return NULL;
10891089
}
10901090
strncpy(arrayOfStr[i], (char *)(input->m_Data) + strSize * i, strSize);
10911091
arrayOfStr[i][strSize] = '\0';

source/h5vol/H5VolUtil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int gUtilADIOS2GetShape(hid_t space_id, size_t *shape, size_t ndims)
7373
}
7474

7575
// get num dimensions
76-
hsize_t *h5Shape = (hsize_t*)malloc(ndims * sizeof(hsize_t));
76+
hsize_t *h5Shape = (hsize_t *)malloc(ndims * sizeof(hsize_t));
7777
if (h5Shape == NULL)
7878
{
7979
return H5VL_CODE_FAIL;

source/h5vol/H5Vol_attr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void *H5VL_adios2_attr_open(void *obj, const H5VL_loc_params_t *loc_params, cons
3939
else
4040
{
4141
size_t llen = strlen(name) + 2;
42-
char *withSlash = (char*)malloc(llen);
42+
char *withSlash = (char *)malloc(llen);
4343
if (!withSlash)
4444
{
4545
return NULL;
@@ -248,7 +248,7 @@ herr_t H5VL_adios2_attr_specific(void *obj, const H5VL_loc_params_t *loc_params,
248248
else
249249
{
250250
size_t llen = strlen(vol->m_Path) + 4 + strlen(attr_name);
251-
char *fullPath = (char*)malloc(llen);
251+
char *fullPath = (char *)malloc(llen);
252252
if (!fullPath)
253253
{
254254
return 0;

0 commit comments

Comments
 (0)