ls: Explicitly initialize booleans to false

This commit is contained in:
apio 2023-03-29 22:19:53 +02:00
parent 43f90c4f88
commit 61f969c60c
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -8,8 +8,8 @@
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
StringView pathname; StringView pathname;
bool show_all; bool show_all { false };
bool show_almost_all; bool show_almost_all { false };
ArgumentParser parser; ArgumentParser parser;
parser.add_positional_argument(pathname, "directory"_sv, "/"_sv); parser.add_positional_argument(pathname, "directory"_sv, "/"_sv);