Correct undefined variable error.

This commit is contained in:
Ward Fisher 2023-02-21 16:54:51 -07:00
parent 5ae3655436
commit df7f6ec571

View File

@ -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;