Skip to content

Commit 2e813da

Browse files
committed
Add braces per Jeff's comment in #9084
Signed-off-by: Rainer Keller <rainer.keller@hs-esslingen.de>
1 parent 2a60a9b commit 2e813da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/common/ompio/common_ompio_file_open.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ int mca_common_ompio_file_close (ompio_file_t *ompio_fh)
236236
char name[256];
237237

238238
/* Call coll_barrier only if collectives are set (same reasoning as below for f_fs) */
239-
if (NULL == ompio_fh->f_comm || NULL == ompio_fh->f_comm->c_coll)
239+
if (NULL == ompio_fh->f_comm || NULL == ompio_fh->f_comm->c_coll) {
240240
return OMPI_SUCCESS;
241+
}
241242

242243
ret = ompio_fh->f_comm->c_coll->coll_barrier ( ompio_fh->f_comm, ompio_fh->f_comm->c_coll->coll_barrier_module);
243244
if ( OMPI_SUCCESS != ret ) {

0 commit comments

Comments
 (0)