mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 11:20:12 +01:00
nm-setting-bond: do not shadow stack variable with same name
GCC complains about this when compiling with -Wshadow
Fixes: 8775c25c33 ('libnm: verify bond option in defined order')
This commit is contained in:
parent
ce59e749fb
commit
2b0689b9ae
1 changed files with 0 additions and 1 deletions
|
|
@ -767,7 +767,6 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
|
|||
if (arp_interval > 0) {
|
||||
char **addrs;
|
||||
guint32 addr;
|
||||
int i;
|
||||
|
||||
if (!arp_ip_target) {
|
||||
g_set_error (error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue