forked from OSchip/llvm-project
[NFC][libc] Fix unused variable in string_writer_test test
This commit is contained in:
parent
5a5f02f0e9
commit
6ad8c1f076
|
@ -26,6 +26,7 @@ TEST(LlvmLibcPrintfStringWriterTest, Constructor) {
|
||||||
__llvm_libc::printf_core::StringWriter str_writer(str);
|
__llvm_libc::printf_core::StringWriter str_writer(str);
|
||||||
__llvm_libc::printf_core::Writer writer =
|
__llvm_libc::printf_core::Writer writer =
|
||||||
get_writer(reinterpret_cast<void *>(&str_writer));
|
get_writer(reinterpret_cast<void *>(&str_writer));
|
||||||
|
(void)writer;
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(LlvmLibcPrintfStringWriterTest, Write) {
|
TEST(LlvmLibcPrintfStringWriterTest, Write) {
|
||||||
|
|
Loading…
Reference in New Issue