Skip to content

Commit 99e578f

Browse files
Committing clang-format changes
1 parent ab8fd9b commit 99e578f

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

src/H5VLpdc.c

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,7 @@ static const H5VL_class_t H5VL_pdc_g = {
263263
},
264264
{
265265
/* wrap_cls */
266-
NULL,
267-
NULL,
268-
NULL,
269-
NULL,
270-
NULL,
266+
NULL, NULL, NULL, NULL, NULL,
271267
/* H5VL_pdc_get_object, /1* get_object *1/ */
272268
/* H5VL_pdc_get_wrap_ctx, /1* get_wrap_ctx *1/ */
273269
/* H5VL_pdc_wrap_object, /1* wrap_object *1/ */
@@ -674,10 +670,10 @@ H5VL_pdc_get_object(const void *obj)
674670
static herr_t
675671
H5VL_pdc_get_wrap_ctx(const void *obj, void **wrap_ctx)
676672
{
677-
const H5VL_pdc_obj_t *o_pdc = (const H5VL_pdc_obj_t *)obj;
678-
hid_t under_vol_id = 0;
679-
void *under_object = NULL;
680-
H5VL_pdc_wrap_ctx_t *new_wrap_ctx;
673+
const H5VL_pdc_obj_t *o_pdc = (const H5VL_pdc_obj_t *)obj;
674+
hid_t under_vol_id = 0;
675+
void * under_object = NULL;
676+
H5VL_pdc_wrap_ctx_t * new_wrap_ctx;
681677

682678
/* Allocate new VOL object wrapping context for the pdc connector */
683679
new_wrap_ctx = (H5VL_pdc_wrap_ctx_t *)calloc(1, sizeof(H5VL_pdc_wrap_ctx_t));
@@ -710,8 +706,8 @@ static void *
710706
H5VL_pdc_wrap_object(void *obj, H5I_type_t obj_type, void *_wrap_ctx)
711707
{
712708
H5VL_pdc_wrap_ctx_t *wrap_ctx = (H5VL_pdc_wrap_ctx_t *)_wrap_ctx;
713-
H5VL_pdc_obj_t *new_obj;
714-
void *under;
709+
H5VL_pdc_obj_t * new_obj;
710+
void * under;
715711

716712
/* Wrap the object with the underlying VOL */
717713
under = H5VLwrap_object(obj, obj_type, wrap_ctx->under_vol_id, wrap_ctx->under_wrap_ctx);
@@ -732,7 +728,7 @@ static void *
732728
H5VL_pdc_unwrap_object(void *obj)
733729
{
734730
H5VL_pdc_obj_t *o = (H5VL_pdc_obj_t *)obj;
735-
void * under;
731+
void * under;
736732

737733
/* Unrap the object with the underlying VOL */
738734
under = H5VLunwrap_object(o->under_object, o->under_vol_id);
@@ -748,7 +744,7 @@ static herr_t
748744
H5VL_pdc_free_wrap_ctx(void *_wrap_ctx)
749745
{
750746
H5VL_pdc_wrap_ctx_t *wrap_ctx = (H5VL_pdc_wrap_ctx_t *)_wrap_ctx;
751-
hid_t err_id;
747+
hid_t err_id;
752748

753749
err_id = H5Eget_current_stack();
754750

0 commit comments

Comments
 (0)