mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
found missing spot for fix of revision 350
This commit is contained in:
parent
ae08ede1fa
commit
00035caeba
@ -1018,7 +1018,7 @@ walktype(Symbol* tsym, Datasrc* src, Datalist* fillsrc)
|
||||
semerror(srcline(src),"Compound constants must be enclosed in {..}");
|
||||
}
|
||||
con = srcnext(src);
|
||||
if(con->nctype == NC_FILLVALUE) {
|
||||
if(con == NULL || con->nctype == NC_FILLVALUE) {
|
||||
dl = getfiller(tsym,fillsrc);
|
||||
ASSERT(dl->length == 1);
|
||||
con = &dl->data[0];
|
||||
@ -1040,7 +1040,7 @@ walktype(Symbol* tsym, Datasrc* src, Datalist* fillsrc)
|
||||
semerror(srcline(src),"Vlen constants must be enclosed in {..}");
|
||||
}
|
||||
con = srcnext(src);
|
||||
if(con->nctype == NC_FILLVALUE) {
|
||||
if(con == NULL || con->nctype == NC_FILLVALUE) {
|
||||
dl = getfiller(tsym,fillsrc);
|
||||
ASSERT(dl->length == 1);
|
||||
con = &dl->data[0];
|
||||
|
Loading…
Reference in New Issue
Block a user