mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
some changes
This commit is contained in:
parent
fc4a4ea189
commit
a2593be245
@ -1436,10 +1436,7 @@ int
|
|||||||
NC4_put_vara(int ncid, int varid, const size_t *startp,
|
NC4_put_vara(int ncid, int varid, const size_t *startp,
|
||||||
const size_t *countp, const void *op, int memtype)
|
const size_t *countp, const void *op, int memtype)
|
||||||
{
|
{
|
||||||
if(memtype == NC_INT64)
|
return nc4_put_vara_tc(ncid, varid, memtype, 0, startp, countp, op);
|
||||||
return nc4_put_vara_tc(ncid, varid, memtype, 0, startp, countp, op);
|
|
||||||
else
|
|
||||||
return nc4_put_vara_tc(ncid, varid, memtype, 0, startp, countp, op);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1448,8 +1445,5 @@ int
|
|||||||
NC4_get_vara(int ncid, int varid, const size_t *startp,
|
NC4_get_vara(int ncid, int varid, const size_t *startp,
|
||||||
const size_t *countp, void *ip, int memtype)
|
const size_t *countp, void *ip, int memtype)
|
||||||
{
|
{
|
||||||
if(memtype == NC_INT64)
|
return nc4_get_vara_tc(ncid, varid, memtype, 0, startp, countp, ip);
|
||||||
return nc4_get_vara_tc(ncid, varid, memtype, 0, startp, countp, ip);
|
|
||||||
else
|
|
||||||
return nc4_get_vara_tc(ncid, varid, memtype, 0, startp, countp, ip);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user