pkill: Initialize display_number_of_matches to false

This ensures the number of matches is not displayed when the `-c`
option is not specified.
This commit is contained in:
Tim Ledbetter 2023-06-15 18:24:51 +01:00 committed by Andreas Kling
parent cbf84152df
commit 0d71db6721
Notes: sideshowbarker 2024-07-17 09:49:33 +09:00

View file

@ -25,7 +25,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
bool display_number_of_matches;
bool display_number_of_matches = false;
bool case_insensitive = false;
bool echo = false;
bool exact_match = false;