pretty-print: some more gcc appeasement

(cherry picked from commit b8ac543706cdf3c1c0872889098d171a5774775a)
This commit is contained in:
Lennart Poettering
2026-10-16 17:24:50 +01:00
committed by Luca Boccassi
parent 7476fff8f2
commit 275bae99e3
+3 -3
View File
@@ -446,9 +446,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);