mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +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
1 changed files with 3 additions and 3 deletions
|
@ -608,11 +608,11 @@ int main(int argc, char** argv)
|
||||||
#define DISARM_TIMER() \
|
#define DISARM_TIMER() \
|
||||||
alarm(0)
|
alarm(0)
|
||||||
|
|
||||||
auto stdin = Core::File::standard_input();
|
auto standard_input = Core::File::standard_input();
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
|
|
||||||
while (!stdin->eof()) {
|
while (!standard_input->eof()) {
|
||||||
auto path = stdin->read_line();
|
auto path = standard_input->read_line();
|
||||||
if (path.is_empty()) {
|
if (path.is_empty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue