From 4e11d8b7dd8c6ad81645933cf07eeeb693037358 Mon Sep 17 00:00:00 2001 From: shahramn Date: Wed, 9 Oct 2024 21:39:30 +0100 Subject: [PATCH] Dead code removal --- tools/grib_get.cc | 1 - tools/grib_ls.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/grib_get.cc b/tools/grib_get.cc index b80272763..1b867dd62 100644 --- a/tools/grib_get.cc +++ b/tools/grib_get.cc @@ -101,7 +101,6 @@ int grib_tool_init(grib_runtime_options* options) exit(1); } } - Assert(p); if (p && *p == ',') { p++; options->latlon_mask = strdup(p); diff --git a/tools/grib_ls.cc b/tools/grib_ls.cc index 08578502f..7e6e3e296 100644 --- a/tools/grib_ls.cc +++ b/tools/grib_ls.cc @@ -122,7 +122,6 @@ int grib_tool_init(grib_runtime_options* options) exit(1); } } - Assert(p); if (p && *p == ',') { p++; options->latlon_mask = strdup(p);