Skip to content

Commit

Permalink
merged warning fix from master
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Sep 5, 2019
2 parents 166b9af + b53c2d3 commit 344b083
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 344b083

Please sign in to comment.