1
0
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:
Tom Gundersen 2014-05-09 18:02:14 +02:00
parent 5e273efec5
commit 86e6e5d1b4

View File

@ -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);