From 13c2b40aa65028b3439d6d14484b0571ea0bded9 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 17 Jun 2024 16:52:40 +0000 Subject: [PATCH] ECC-1755: Cleanup --- tools/grib_to_netcdf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/grib_to_netcdf.cc b/tools/grib_to_netcdf.cc index 223429f92..5b356683e 100644 --- a/tools/grib_to_netcdf.cc +++ b/tools/grib_to_netcdf.cc @@ -137,7 +137,7 @@ static bool eq_time(const char* l, const char* r) return false; } -const char* get_step_units_longname(const char* step_units) +static const char* get_step_units_longname(const char* step_units) { if (step_units == NULL) return NULL; @@ -148,7 +148,7 @@ const char* get_step_units_longname(const char* step_units) if (strcmp(step_units, "h") == 0) return "hours"; - Assert(0); + Assert(!"Unknown step units"); return NULL; }