mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
Missing ERR after api test call
Missed this one on previous PR. Another missing ERR after API test if.
This commit is contained in:
parent
070df7c583
commit
30ec6821c3
@ -102,7 +102,7 @@ int main(int argc, char *argv[])
|
||||
/* Create a var... */
|
||||
sprintf(varname, "var_%d", type);
|
||||
if (nc_def_var(ncid1, varname, type + NC_UBYTE, 1, &dimid, &varid[type])) ERR;
|
||||
if (nc_inq_type_equal(ncid1, type + NC_UBYTE, ncid2, type + NC_UBYTE, &equal));
|
||||
if (nc_inq_type_equal(ncid1, type + NC_UBYTE, ncid2, type + NC_UBYTE, &equal)) ERR;
|
||||
if (!equal) ERR;
|
||||
}
|
||||
nc_close(ncid2);
|
||||
|
Loading…
Reference in New Issue
Block a user