Ladybird: Initialize boolean command line argument

This being uninitialized was caught by AddressSanitizer.
This commit is contained in:
Timothy Flynn 2023-01-31 08:42:00 -05:00 committed by Linus Groh
parent 96f409ec1e
commit ac80475a1f
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00

View file

@ -66,7 +66,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
StringView raw_url;
StringView webdriver_content_ipc_path;
bool dump_layout_tree;
bool dump_layout_tree = false;
Core::ArgsParser args_parser;
args_parser.set_general_help("The Ladybird web browser :^)");