From ca5cceea4e7f9dfe44d5b4aeb0ec2b56f4db437b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Oct 2026 10:38:05 +0200 Subject: [PATCH] pretty-print: some more gcc appeasement (cherry picked from commit b8ac543706cdf3c1c0872889098d171a5774775a) (cherry picked from commit 275bae99e3d24aebabd1ba8620246a2232993ede) (cherry picked from commit 9fc74841109c0a82be5c176c8ee2e28cd3f8a11f) --- src/shared/pretty-print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/pretty-print.c b/src/shared/pretty-print.c index 7e04acbcfc1..ec988dc9393 100644 --- a/src/shared/pretty-print.c +++ b/src/shared/pretty-print.c @@ -433,9 +433,9 @@ static int guess_type(const char **name, char ***ret_prefixes, bool *ret_is_coll int conf_files_cat(const char *root, const char *name, CatFlags flags) { _cleanup_strv_free_ char **dirs = NULL; - char **prefixes = NULL; /* explicit initialization to appease gcc */ - bool is_collection; - const char *extension; + char **prefixes = NULL; /* explicit initialization to appease gcc */ + bool is_collection = false; /* explicit initialization to appease gcc */ + const char *extension = NULL; /* explicit initialization to appease gcc */ int r; r = guess_type(&name, &prefixes, &is_collection, &extension);