C++ compilation: warning re initialization of subobject
@@ -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";
