diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-30 13:16:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-30 13:16:53 +0200 |
commit | 16dc50490276c4cff4025a251a2a385315481b5e (patch) | |
tree | a67644486012f24992d581cf34e600cf2f09675f | |
parent | a19222e1d39e8f0ae254bf02b7babb0bd73ee5be (diff) | |
parent | 0ab8a1b6222917e547afa02c3e28f880f4d30b64 (diff) |
Merge pull request #1074 from phomes/networkd-initialize-var
networkd: initialize tz to null
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index ff693ed0fd..d797a8ded8 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -823,7 +823,7 @@ static int link_enter_set_addresses(Link *link) { if (link->network->dhcp_server_emit_timezone) { _cleanup_free_ char *buffer = NULL; - const char *tz; + const char *tz = NULL; if (link->network->dhcp_server_timezone) tz = link->network->dhcp_server_timezone; |