diff --git a/libc/src/__support/OSUtil/uefi/io.cpp b/libc/src/__support/OSUtil/uefi/io.cpp index 885bbc690bea8f..d281aee449880d 100644 --- a/libc/src/__support/OSUtil/uefi/io.cpp +++ b/libc/src/__support/OSUtil/uefi/io.cpp @@ -14,11 +14,7 @@ namespace LIBC_NAMESPACE_DECL { -ssize_t read_from_stdin(char *buf, size_t size) { - (void)buf; - (void)size; - return 0; -} +ssize_t read_from_stdin(char *, size_t) { return 0; } void write_to_stdout(cpp::string_view msg) { // TODO: use mbstowcs once implemented diff --git a/libc/src/__support/UEFI/file.cpp b/libc/src/__support/UEFI/file.cpp index edf1b51e900aa3..bec8610303f467 100644 --- a/libc/src/__support/UEFI/file.cpp +++ b/libc/src/__support/UEFI/file.cpp @@ -29,9 +29,7 @@ void File::reset() { } } -size_t File::read(void *data, size_t len) { - (void)data; - (void)len; +size_t File::read(void *, size_t) { if (needsReset()) reset();