From e3fb5d227a8b4f5507c83d9b32d8f482a7427475 Mon Sep 17 00:00:00 2001 From: davidot Date: Sun, 11 Sep 2022 10:15:05 +0200 Subject: [PATCH] test262-runner: Rename variable stdin to standard_input This was shadowing a name in LibC triggering warnings. --- Tests/LibJS/test262-runner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/LibJS/test262-runner.cpp b/Tests/LibJS/test262-runner.cpp index 1329d94c125..e1135c14da7 100644 --- a/Tests/LibJS/test262-runner.cpp +++ b/Tests/LibJS/test262-runner.cpp @@ -608,11 +608,11 @@ int main(int argc, char** argv) #define DISARM_TIMER() \ alarm(0) - auto stdin = Core::File::standard_input(); + auto standard_input = Core::File::standard_input(); size_t count = 0; - while (!stdin->eof()) { - auto path = stdin->read_line(); + while (!standard_input->eof()) { + auto path = standard_input->read_line(); if (path.is_empty()) { continue; }