mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
check nc_delete for handling of null name
This commit is contained in:
parent
41cef20d1a
commit
d228c4048e
@ -305,6 +305,7 @@ main(int argc, char **argv)
|
||||
if (nc_set_default_format(format[f], NULL)) ERR;
|
||||
if (nc_create(NULL, 0, &ncid) != NC_EINVAL) ERR;
|
||||
if (nc_open(NULL, NC_NOWRITE, &ncid) != NC_EINVAL) ERR;
|
||||
if (nc_delete(NULL) != NC_EINVAL) ERR;
|
||||
}
|
||||
SUMMARIZE_ERR;
|
||||
} /* next format */
|
||||
|
Loading…
Reference in New Issue
Block a user