mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Applications: Mark compilation-unit-only functions as static
This enables a nice warning in case a function becomes dead code.
This commit is contained in:
parent
5fe6ca75ca
commit
ef9a3b8e46
3 changed files with 6 additions and 6 deletions
|
@ -53,7 +53,7 @@ struct ContentPage {
|
|||
Vector<String> content;
|
||||
};
|
||||
|
||||
Optional<Vector<ContentPage>> parse_welcome_file(const String& path)
|
||||
static Optional<Vector<ContentPage>> parse_welcome_file(const String& path)
|
||||
{
|
||||
const auto error = Optional<Vector<ContentPage>>();
|
||||
auto file = Core::File::construct(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue