Skip to content

Commit de004ab

Browse files
[NFC] Mark unused variables (#7224)
1 parent e4bfcd2 commit de004ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/passes/Heap2Local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ struct Struct2Local : PostWalker<Struct2Local> {
910910
return;
911911
}
912912

913-
auto& field = fields[curr->index];
913+
[[maybe_unused]] auto& field = fields[curr->index];
914914
auto type = curr->type;
915915
assert(type == field.type);
916916
assert(!field.isPacked());
@@ -985,7 +985,7 @@ struct Struct2Local : PostWalker<Struct2Local> {
985985
return;
986986
}
987987

988-
auto& field = fields[curr->index];
988+
[[maybe_unused]] auto& field = fields[curr->index];
989989
auto type = curr->type;
990990
assert(type == field.type);
991991
assert(!field.isPacked());

0 commit comments

Comments
 (0)