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.

(cherry picked from commit cd0e328f7e)
This commit is contained in:
Thomas Haller 2020-12-06 14:40:25 +01:00
parent 903f8728b9
commit 76bdde147f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -605,8 +605,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;