diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index d4b05bb9871..0456eef0d3a 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -497,7 +497,7 @@ int manager_save(Manager *m) { _cleanup_free_ char *temp_path = NULL; _cleanup_fclose_ FILE *f = NULL; const char *oper_state = "unknown"; - bool dormant, carrier; + bool dormant = false, carrier = false; int r; assert(m);