Skip to content

Commit

Permalink
#2268: revert "ignore invalid maybe-uninitialized warning"
Browse files Browse the repository at this point in the history
This reverts commit 331b9b0.
  • Loading branch information
cz4rs committed Nov 27, 2024
1 parent a505c09 commit 63016fd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vt/collective/reduce/scoping/strong_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 63016fd

Please sign in to comment.