mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-06 15:34:44 +08:00
Fix compile
This commit is contained in:
parent
e0792b41a0
commit
ec6471e7e8
@ -1139,7 +1139,7 @@ aws_load_credentials(NCglobalstate* gstate)
|
||||
/* add a "none" credentials */
|
||||
{
|
||||
struct AWSprofile* noprof = (struct AWSprofile*)calloc(1,sizeof(struct AWSprofile));
|
||||
if(noprof == NULL) {ret = NC_ENOMEM; goto done;}
|
||||
if(noprof == NULL) {stat = NC_ENOMEM; goto done;}
|
||||
noprof->name = strdup("none");
|
||||
noprof->entries = nclistnew();
|
||||
nclistpush(profiles,noprof); noprof = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user