Skip to content

Commit 5f29757

Browse files
kuhargithub-actions[bot]
authored andcommitted
Automerge: [ADT] Fix unused argument warning
2 parents ff4cf2b + 2b5e29e commit 5f29757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/ADT/SmallVector.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ class SmallVectorTemplateCommon
221221
this->assertSafeToAdd(From, To - From);
222222
this->assertSafeToAdd(To - 1, To - From);
223223
}
224+
(void)From;
225+
(void)To;
224226
}
225227

226228
/// Reserve enough space to add one element, and return the updated element

0 commit comments

Comments
 (0)