C++ compilation: warning re initialization of subobject

This commit is contained in:
Shahram Najm 2023-01-06 12:30:05 +00:00
parent ff34d78837
commit cf5c9c04a5
1 changed files with 3 additions and 3 deletions

View File

@ -1607,9 +1607,9 @@ static void test_parse_keyval_string()
int err = 0;
int values_required = 1;
int count = 0;
grib_values values1[128] = {0,};
grib_values values2[128] = {0,};
grib_values values3[128] = {0,};
grib_values values1[128] = {{0},};
grib_values values2[128] = {{0},};
grib_values values3[128] = {{0},};
const int max_count = 128;
char input1[] = "key1=value1,key2!=value2";
char input2[] = "x=14";