Clang static analyser warnings

This commit is contained in:
Shahram Najm 2020-03-22 12:13:43 +00:00
parent 21976f57a0
commit cb8a9d3291
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ static void __expand(grib_accessor* a, bufr_descriptors_array* unexpanded, bufr_
}
#endif
size = BUFR_DESCRIPTORS_ARRAY_USED_SIZE(inner_expanded);
expanded = grib_bufr_descriptors_array_append(expanded, inner_expanded);
grib_bufr_descriptors_array_append(expanded, inner_expanded);
break;
case 1:
@ -388,7 +388,7 @@ static void __expand(grib_accessor* a, bufr_descriptors_array* unexpanded, bufr_
}
#endif
size = BUFR_DESCRIPTORS_ARRAY_USED_SIZE(inner_expanded);
expanded = grib_bufr_descriptors_array_append(expanded, inner_expanded);
grib_bufr_descriptors_array_append(expanded, inner_expanded);
}
break;