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:
Antonio Cardace 2020-02-20 15:35:01 +01:00 committed by Thomas Haller
parent ce59e749fb
commit 2b0689b9ae

View file

@ -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,