mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Correct undefined variable error.
This commit is contained in:
parent
5ae3655436
commit
df7f6ec571
@ -969,7 +969,7 @@ check_dims(int ncid)
|
||||
void
|
||||
check_vars(int ncid)
|
||||
{
|
||||
size_t index[MAX_RANK];
|
||||
size_t index[MAX_RANK] = {0};
|
||||
char text, name[NC_MAX_NAME];
|
||||
int i, err; /* status */
|
||||
size_t j;
|
||||
|
Loading…
Reference in New Issue
Block a user