mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-14 20:03:29 +00: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
|
@ -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 a new issue