Skip to content

Commit beb8abb

Browse files
committed
Dead code removal
1 parent 13c04fc commit beb8abb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/grib_histogram.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h)
7676
names[name_count++] = options->requested_print_keys[i].name;
7777
}
7878

79-
if (!options->skip) {
80-
if (options->set_values_count != 0)
81-
err = grib_set_values(h, options->set_values, options->set_values_count);
82-
83-
if (err != GRIB_SUCCESS && options->fail)
84-
exit(err);
85-
}
86-
8779
GRIB_CHECK(grib_get_long(h, "missingValuesPresent", &missingValuesPresent), 0);
8880

8981
GRIB_CHECK(grib_get_size(h, "values", &size), 0);

0 commit comments

Comments
 (0)