mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
l3cfg: avoid "-Werror=maybe-uninitialized" warning in _load_link()
It's not actually an issue, but the compiler might think that we use nacd_old_addr without initialization.
This commit is contained in:
parent
c9898dc9ae
commit
cd0e328f7e
|
@ -686,8 +686,8 @@ _load_link(NML3Cfg *self, gboolean initial)
|
|||
gboolean nacd_changed;
|
||||
gboolean nacd_new_valid;
|
||||
gboolean nacd_old_valid;
|
||||
const guint8 * nacd_old_addr;
|
||||
const guint8 * nacd_new_addr;
|
||||
const guint8 * nacd_old_addr = NULL;
|
||||
const guint8 * nacd_new_addr = NULL;
|
||||
gboolean nacd_link_now_up;
|
||||
AcdData * acd_data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue