Skip to content

Commit 6447e76

Browse files
unused
1 parent 7ae6b90 commit 6447e76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libc/test/src/string/memory_utils/op_tests.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ void CopyAdaptor(cpp::span<char> dst, cpp::span<char> src, size_t size) {
7272
FnImpl(as_byte(dst), as_byte(src), size);
7373
}
7474
template <size_t Size, auto FnImpl>
75-
void CopyBlockAdaptor(cpp::span<char> dst, cpp::span<char> src, size_t size) {
75+
void CopyBlockAdaptor(cpp::span<char> dst, cpp::span<char> src,
76+
size_t /*size*/) {
7677
FnImpl(as_byte(dst), as_byte(src));
7778
}
7879

@@ -153,7 +154,7 @@ void SetAdaptor(cpp::span<char> dst, uint8_t value, size_t size) {
153154
FnImpl(as_byte(dst), value, size);
154155
}
155156
template <size_t Size, auto FnImpl>
156-
void SetBlockAdaptor(cpp::span<char> dst, uint8_t value, size_t size) {
157+
void SetBlockAdaptor(cpp::span<char> dst, uint8_t value, size_t /*size*/) {
157158
FnImpl(as_byte(dst), value);
158159
}
159160

@@ -242,7 +243,7 @@ int CmpAdaptor(cpp::span<char> p1, cpp::span<char> p2, size_t size) {
242243
return (int)FnImpl(as_byte(p1), as_byte(p2), size);
243244
}
244245
template <size_t Size, auto FnImpl>
245-
int CmpBlockAdaptor(cpp::span<char> p1, cpp::span<char> p2, size_t size) {
246+
int CmpBlockAdaptor(cpp::span<char> p1, cpp::span<char> p2, size_t /*size*/) {
246247
return (int)FnImpl(as_byte(p1), as_byte(p2));
247248
}
248249

0 commit comments

Comments
 (0)