mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-24 18:30:51 +08:00
applied gsjaardema's suggested change to ocnode.c
This commit is contained in:
parent
0fbfc2bce4
commit
06eb8669df
@ -482,6 +482,8 @@ occorrelater(OCnode* dds, OCnode* dxd)
|
||||
if(dxd->name != NULL && dxd->name != NULL
|
||||
&& strcmp(dxd->name,dds->name) != 0) {
|
||||
OCTHROWCHK((ocstat = OC_EINVAL)); goto fail;
|
||||
} else if(dxd->name != dds->name) { /* test NULL==NULL */
|
||||
OCTHROWCHK((ocstat = OC_EINVAL)); goto fail;
|
||||
}
|
||||
|
||||
if(dxd->array.rank != dds->array.rank) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user