From 9f00673a24f26a1ddf97411de25c86301d77ce60 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Tue, 26 Sep 2023 11:54:18 -0600 Subject: [PATCH] Per #2690, remove commented out code --- src/tools/other/pb2nc/pb2nc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/other/pb2nc/pb2nc.cc b/src/tools/other/pb2nc/pb2nc.cc index 260062de28..92fdc288df 100644 --- a/src/tools/other/pb2nc/pb2nc.cc +++ b/src/tools/other/pb2nc/pb2nc.cc @@ -673,12 +673,13 @@ ConcatString save_bufr_table_to_file(const char *blk_file, int _file_id) { openpb_(blk_file, &_file_id); dump_tbl_(blk_file, &_file_id, tbl_filename.c_str(), &len); closepb_(&_file_id); - //close(_file_id); + // Delete the temporary blocked file remove_temp_file((string)blk_file); return tbl_filename; } +//////////////////////////////////////////////////////////////////////// bool is_prepbufr_file(const StringArray *events) { bool is_prepbufr = events->has("P__EVENT") && events->has("Q__EVENT")