mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
[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:
committed by
GitHub
parent
2da8f30c5e
commit
dbceb1d936
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user