From cb8a9d32915d601f5b82a0cf45f726af32f29afd Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sun, 22 Mar 2020 12:13:43 +0000 Subject: [PATCH] Clang static analyser warnings --- src/grib_accessor_class_expanded_descriptors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grib_accessor_class_expanded_descriptors.c b/src/grib_accessor_class_expanded_descriptors.c index 417c1beae..62b917d02 100644 --- a/src/grib_accessor_class_expanded_descriptors.c +++ b/src/grib_accessor_class_expanded_descriptors.c @@ -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;