Skip to content

Commit c306ed5

Browse files
committed
Fix unused param error
1 parent 492b9f1 commit c306ed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/test/src/stdio/fprintf_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TEST(LlvmLibcFPrintfTest, WriteToFile) {
9393

9494
TEST(LlvmLibcFPrintfTest, CharsWrittenOverflow) {
9595
struct NoopStream {};
96-
auto noop_write = [](void *cookie, const char *buf, size_t size) -> ssize_t {
96+
auto noop_write = [](void *, const char *, size_t size) -> ssize_t {
9797
return size;
9898
};
9999

libc/test/src/stdio/vfprintf_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ TEST(LlvmLibcVFPrintfTest, WriteToFile) {
104104

105105
TEST(LlvmLibcVFPrintfTest, CharsWrittenOverflow) {
106106
struct NoopStream {};
107-
auto noop_write = [](void *cookie, const char *buf, size_t size) -> ssize_t {
107+
auto noop_write = [](void *, const char *, size_t size) -> ssize_t {
108108
return size;
109109
};
110110

0 commit comments

Comments
 (0)