Skip to content

Commit

Permalink
removed unneeded check of _NETCDF
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 17, 2020
1 parent ad4eddb commit 4754ab5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/cunit/test_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,9 @@ get_iotypes(int *num_flavors, int *flavors)
num++;
format[fmtidx++] = PIO_IOTYPE_PNETCDF;
#endif
#ifdef _NETCDF
/* NetCDF is always present. */
num++;
format[fmtidx++] = PIO_IOTYPE_NETCDF;
#endif
#ifdef _NETCDF4
num += 2;
format[fmtidx++] = PIO_IOTYPE_NETCDF4C;
Expand Down

0 comments on commit 4754ab5

Please sign in to comment.