mirror of
https://github.com/systemd/systemd.git
synced 2026-11-07 13:57:10 +00:00
pretty-print: some more gcc appeasement
(cherry picked from commitb8ac543706) (cherry picked from commit275bae99e3) (cherry picked from commit9fc7484110)
This commit is contained in:
1 parent
7f1fc4703b
commit
ca5cceea4e
1 file changed
+3
-3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user