mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Removed vestigal function related to currently-inactive multiple-open functionality.
This commit is contained in:
parent
340ddf0cfd
commit
5e3d265743
@ -1522,10 +1522,12 @@ NC_create(const char *path, int cmode, size_t initialsz,
|
||||
nc_initialized = 1;
|
||||
}
|
||||
|
||||
#ifdef USE_REFCOUNT
|
||||
/* If this path is already open, then fail */
|
||||
ncp = find_in_NCList_by_name(path);
|
||||
if(ncp != NULL)
|
||||
return NC_ENFILE;
|
||||
#endif
|
||||
|
||||
if((isurl = NC_testurl(path)))
|
||||
model = NC_urlmodel(path);
|
||||
|
Loading…
Reference in New Issue
Block a user