mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-19 17:30:27 +08:00
Fixed -Wsometimes-uninitialized warnings with zero initialization
This commit is contained in:
parent
12d6dbed82
commit
7beb242316
@ -42,7 +42,7 @@ static int timedping(const char* url, long timeout);
|
||||
static char**
|
||||
parseServers(const char* remotetestservers)
|
||||
{
|
||||
char* rts;
|
||||
char* rts = NULL;
|
||||
char** servers = NULL;
|
||||
char** list = NULL;
|
||||
char* p;
|
||||
|
@ -534,7 +534,7 @@ NC_copy_att(int ncid_in, int varid_in, const char *name,
|
||||
{
|
||||
/* Copy arbitrary attributes. */
|
||||
int class;
|
||||
size_t size;
|
||||
size_t size = 0;
|
||||
nc_type xtype_out = NC_NAT;
|
||||
|
||||
if(xtype <= NC_MAX_ATOMIC_TYPE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user