This commit is contained in:
Ward Fisher 2017-10-31 11:13:05 -06:00
parent 00a5ca6e70
commit 1acafdc668

View File

@ -145,8 +145,14 @@ main(int argc, char *argv[])
#else
continue;
#endif
case NC_FORMAT_NETCDF4_CLASSIC:
case NC_FORMAT_NETCDF4: /* actually it's _CLASSIC. */
/* Repeated test. See https://github.com/Unidata/netcdf-c/issues/556 for more
information re: the immediate 'continue' */
case NC_FORMAT_NETCDF4: /* actually it's _CLASSIC. */
continue; /* loop i */
case NC_FORMAT_NETCDF4_CLASSIC:
#ifdef USE_NETCDF4
nc_set_default_format(NC_FORMAT_NETCDF4_CLASSIC, NULL);
strcpy(testfile, "nc_test_netcdf4.nc");