[libc] Fix unused variable in fputc test (#67830)

This is probably a copy-and-paste error and the variable 'more' was left
unused.
This commit is contained in:
Mikhail R. Gadelha
2023-09-29 13:31:40 -03:00
committed by GitHub
parent 2da8f30c5e
commit dbceb1d936

View File

@@ -22,7 +22,7 @@ TEST(LlvmLibcPutcTest, PrintOut) {
}
constexpr char more[] = "A simple string written to stderr\n";
for (const char &c : simple) {
for (const char &c : more) {
result = LIBC_NAMESPACE::fputc(
c, reinterpret_cast<FILE *>(LIBC_NAMESPACE::stderr));
}