From 63016fdb7c4c702140adea63a1184b3112164682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Wed, 27 Nov 2024 10:41:50 +0100 Subject: [PATCH] #2268: revert "ignore invalid `maybe-uninitialized` warning" This reverts commit 331b9b0a99b93348ecd08f068792bd133cc27b1f. --- src/vt/collective/reduce/scoping/strong_types.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/vt/collective/reduce/scoping/strong_types.h b/src/vt/collective/reduce/scoping/strong_types.h index a5b21116f9..0953f1683a 100644 --- a/src/vt/collective/reduce/scoping/strong_types.h +++ b/src/vt/collective/reduce/scoping/strong_types.h @@ -101,12 +101,7 @@ struct TagPair { } TagType first() const { return t1_; } -#pragma GCC diagnostic push // ignore gcc-13 false positive -#ifndef __clang__ // clang does not recognize "-Wmaybe-uninitialized" -#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" -#endif TagType second() const { return t2_; } -#pragma GCC diagnostic pop private: TagType t1_ = no_tag;