mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 19:50:08 +01:00
libnm: fix -Werror=maybe-uninitialized warning _setting_bond_validate_option()
Fixes: e96051d734 ('libnm: cleanup validating bond option "arp_ip_target"')
This commit is contained in:
parent
5deb71625d
commit
826c83ce41
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