[NFC][libc] Fix unused variable in string_writer_test test

This commit is contained in:
Guillaume Chatelet 2022-08-25 10:19:59 +02:00 committed by GitHub
parent 5a5f02f0e9
commit 6ad8c1f076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ TEST(LlvmLibcPrintfStringWriterTest, Constructor) {
__llvm_libc::printf_core::StringWriter str_writer(str);
__llvm_libc::printf_core::Writer writer =
get_writer(reinterpret_cast<void *>(&str_writer));
(void)writer;
}
TEST(LlvmLibcPrintfStringWriterTest, Write) {