mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
platform: fix -Werror=maybe-uninitialized in _new_from_nl_link()
Fixes: 0827d4c2e4
This commit is contained in:
parent
b200e5d8ed
commit
67f50f64d9
1 changed files with 1 additions and 1 deletions
|
|
@ -2268,7 +2268,7 @@ _new_from_nl_link (NMPlatform *platform, const NMPCache *cache, struct nlmsghdr
|
|||
}
|
||||
|
||||
if (obj->link.type == NM_LINK_TYPE_WIREGUARD) {
|
||||
nm_auto_nmpobj NMPObject *lnk_data_now;
|
||||
nm_auto_nmpobj NMPObject *lnk_data_now = NULL;
|
||||
|
||||
/* The WireGuard kernel module does not yet send link update
|
||||
* notifications, so we don't actually update the cache. For
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue