mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 06:49:12 +03:00
test262-runner: Rename variable stdin to standard_input
This was shadowing a name in LibC triggering warnings.
This commit is contained in:
parent
3b020c6fb4
commit
e3fb5d227a
Notes:
sideshowbarker
2024-07-17 07:17:45 +09:00
Author: https://github.com/davidot Commit: https://github.com/SerenityOS/serenity/commit/e3fb5d227a Pull-request: https://github.com/SerenityOS/serenity/pull/15189 Reviewed-by: https://github.com/linusg
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user