mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 08:00:15 +01:00
platform: fix "maybe-uninitialized" warning in nmp_global_tracker_sync()
Fixes: 3a8864a585 ('platform: delete conflicting route/rule during nmp_global_tracker_sync()')
This commit is contained in:
parent
003eb75eb6
commit
cbf7b3546b
1 changed files with 2 additions and 1 deletions
|
|
@ -1070,7 +1070,8 @@ nmp_global_tracker_sync(NMPGlobalTracker *self, NMPObjectType obj_type, gboolean
|
|||
NM_PLATFORM_IP_ROUTE_CMP_TYPE_SEMANTICALLY);
|
||||
break;
|
||||
default:
|
||||
nm_assert_not_reached();
|
||||
c = nm_assert_unreachable_val(0);
|
||||
break;
|
||||
}
|
||||
if (c == 0)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue