Skip to content

Commit 8535b8f

Browse files
author
Andy Stokely
committed
Fixed inconsistent formatting.
1 parent 8c62019 commit 8535b8f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/external/SMIOL/smiol.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,11 @@ int SMIOL_open_file(struct SMIOL_context *context, const char *filename,
321321

322322
if (mode & SMIOL_FILE_CREATE) {
323323
#ifdef SMIOL_PNETCDF
324-
MPI_Info info = MPI_INFO_NULL;
325324
if ((*file)->io_task) {
326325
/*
327326
* Convert fformat to a PNetCDF file creation mode
328327
*/
328+
MPI_Info info = MPI_INFO_NULL;
329329
int filecmode;
330330
if (fformat == SMIOL_FORMAT_CDF2) {
331331
filecmode = NC_64BIT_OFFSET;
@@ -338,8 +338,9 @@ int SMIOL_open_file(struct SMIOL_context *context, const char *filename,
338338
MPI_Comm_free(&io_group_comm);
339339
return SMIOL_INVALID_FORMAT;
340340
}
341-
MPI_Info_create(&info);
342-
MPI_Info_set(info, "nc_header_align_size", PNETCDF_HEADER_ALIGN_SIZE_STR);
341+
MPI_Info_create(&info);
342+
MPI_Info_set(info, "nc_header_align_size",
343+
PNETCDF_HEADER_ALIGN_SIZE_STR);
343344
ierr = ncmpi_create(io_file_comm, filename,
344345
(filecmode | NC_CLOBBER),
345346
info,

0 commit comments

Comments
 (0)