Skip to content

Commit a7c3915

Browse files
authored
[NFC] Work around false gcc warning (#7979)
1 parent 5db40fd commit a7c3915

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/passes/Strip.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828
namespace wasm {
2929

30+
#pragma GCC diagnostic push
31+
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
32+
3033
struct Strip : public Pass {
3134
bool requiresNonNullableLocalFixups() override { return false; }
3235

@@ -74,4 +77,6 @@ Pass* createStripProducersPass() {
7477
});
7578
}
7679

80+
#pragma GCC diagnostic pop
81+
7782
} // namespace wasm

0 commit comments

Comments
 (0)