From 4c2737598e3402b523d02c198206e82113a03fe1 Mon Sep 17 00:00:00 2001 From: Pedro Maciel Date: Mon, 13 Nov 2023 15:18:41 +0000 Subject: [PATCH] Cleanup --- src/atlas/redistribution/detail/RedistributeGeneric.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/atlas/redistribution/detail/RedistributeGeneric.cc b/src/atlas/redistribution/detail/RedistributeGeneric.cc index d1aa54888..b9b3a3979 100644 --- a/src/atlas/redistribution/detail/RedistributeGeneric.cc +++ b/src/atlas/redistribution/detail/RedistributeGeneric.cc @@ -120,7 +120,6 @@ std::vector getUidVec(const FunctionSpace& functionspace) { // Check UIDs are unique. if (ATLAS_BUILD_TYPE_DEBUG) { - const size_t vecSize = uidVec.size(); auto first_duplicate = std::adjacent_find( uidVec.begin(), uidVec.end(), [](const IdxUid& a, const IdxUid& b) { return a.second == b.second; }); ATLAS_ASSERT(uidVec.end() == first_duplicate, "Unique ID set has duplicate members");