mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Updated in support of https://github.com/Unidata/netcdf-c/issues/556
This commit is contained in:
parent
00a5ca6e70
commit
1acafdc668
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user