1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

Shell: Cast unused smart-pointer return values to void

This commit is contained in:
Sam Atkins 2021-12-02 11:01:47 +00:00 committed by Andreas Kling
parent 9e3a786a64
commit b138070da9
2 changed files with 7 additions and 7 deletions

View file

@ -839,7 +839,7 @@ int Shell::builtin_shift(int argc, const char** argv)
}
for (auto i = 0; i < count; ++i)
values.take_first();
(void)values.take_first();
return 0;
}