Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Sep 5, 2019
1 parent ee94d47 commit cf5173a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clib/pio_darray.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ PIOc_write_darray_multi(int ncid, const int *varids, int ioid, int nvars,
* large as the largest used to accommodate this serial io
* method. */
rlen = 0;
if (iodesc->llen > 0 || (file->iotype==PIO_IOTYPE_NETCDF || file->iotype == PIO_IOTYPE_NETCDF4C) && ios->iomaster)
if (iodesc->llen > 0 ||
((file->iotype == PIO_IOTYPE_NETCDF ||
file->iotype == PIO_IOTYPE_NETCDF4C) && ios->iomaster))
rlen = iodesc->maxiobuflen * nvars;

/* Allocate iobuf. */
Expand Down

0 comments on commit cf5173a

Please sign in to comment.