mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 05:00:36 +01:00
libnm: fix -Werror=maybe-uninitialized warning _setting_bond_validate_option()
Fixes:e96051d734('libnm: cleanup validating bond option "arp_ip_target"') (cherry picked from commit826c83ce41)
This commit is contained in:
parent
2e780878f0
commit
8c2f8169aa
1 changed files with 2 additions and 0 deletions
|
|
@ -531,6 +531,8 @@ _setting_bond_validate_option (const char *name,
|
|||
}
|
||||
|
||||
nm_assert_not_reached ();
|
||||
success = FALSE;
|
||||
|
||||
handle_error:
|
||||
if (!success) {
|
||||
g_set_error (error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue