From eba45f7bbe6cd0c8af75ca160373f97ece24a914 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Fri, 16 Sep 2022 12:02:37 +0200
Subject: [PATCH] [MeL/IO] Rm HdfMesh::name since it is never used

---
 MeshLib/IO/XDMF/HdfWriter.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/MeshLib/IO/XDMF/HdfWriter.cpp b/MeshLib/IO/XDMF/HdfWriter.cpp
index c4bb383630f..6e5c1b8cdf6 100644
--- a/MeshLib/IO/XDMF/HdfWriter.cpp
+++ b/MeshLib/IO/XDMF/HdfWriter.cpp
@@ -202,7 +202,6 @@ namespace MeshLib::IO
 struct HdfWriter::HdfMesh final
 {
     hid_t const group;
-    std::string const name;
     std::map<std::string, hid_t> const datasets;
     std::vector<HdfData> const variable_attributes;
 };
@@ -257,7 +256,7 @@ HdfWriter::HdfWriter(std::vector<MeshHdfData> meshes,
         }
 
         _hdf_meshes.push_back(std::make_unique<HdfMesh>(
-            HdfMesh{group, mesh.name, datasets, mesh.variable_attributes}));
+            HdfMesh{group, datasets, mesh.variable_attributes}));
     }
 }
 
-- 
GitLab