mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
networkd: manager - initialize variables
This commit is contained in:
parent
5e273efec5
commit
86e6e5d1b4
@ -497,7 +497,7 @@ int manager_save(Manager *m) {
|
|||||||
_cleanup_free_ char *temp_path = NULL;
|
_cleanup_free_ char *temp_path = NULL;
|
||||||
_cleanup_fclose_ FILE *f = NULL;
|
_cleanup_fclose_ FILE *f = NULL;
|
||||||
const char *oper_state = "unknown";
|
const char *oper_state = "unknown";
|
||||||
bool dormant, carrier;
|
bool dormant = false, carrier = false;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
assert(m);
|
assert(m);
|
||||||
|
Loading…
Reference in New Issue
Block a user