From 61f969c60cd1793cf262364dcd35d7af27f66086 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 29 Mar 2023 22:19:53 +0200 Subject: [PATCH] ls: Explicitly initialize booleans to false --- apps/ls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ls.cpp b/apps/ls.cpp index cbd427f6..7127d142 100644 --- a/apps/ls.cpp +++ b/apps/ls.cpp @@ -8,8 +8,8 @@ int main(int argc, char** argv) { StringView pathname; - bool show_all; - bool show_almost_all; + bool show_all { false }; + bool show_almost_all { false }; ArgumentParser parser; parser.add_positional_argument(pathname, "directory"_sv, "/"_sv);