From 5dd62ff5a52dba4fc0ee9f1515469310d9b24240 Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 25 Apr 2024 13:13:45 +0100 Subject: [PATCH] Initialise return values --- src/accessor/grib_accessor_class_variable.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/accessor/grib_accessor_class_variable.cc b/src/accessor/grib_accessor_class_variable.cc index a9bd8741b..b87798663 100644 --- a/src/accessor/grib_accessor_class_variable.cc +++ b/src/accessor/grib_accessor_class_variable.cc @@ -32,9 +32,9 @@ void grib_accessor_class_variable_t::init(grib_accessor* a, const long length, g grib_expression* expression = grib_arguments_get_expression(hand, args, 0); const char* p = 0; size_t len = 1; - long l; + long l = 0; int ret = 0; - double d; + double d = 0; self->cname = NULL; a->length = 0;