diff options
| author | F. Aragon <paco@voltanet.io> | 2018-09-13 17:37:08 +0200 |
|---|---|---|
| committer | F. Aragon <paco@voltanet.io> | 2018-09-13 17:37:08 +0200 |
| commit | 7fe96307ee288bd28a54ba4ddfa559a1cf07bb7f (patch) | |
| tree | 43c78be92e26fe2a6adcc231c18ba869e0fb1ccf /ospf6d/ospf6d.h | |
| parent | 6efca3442f9e74c789803cbcfba330cd12de7863 (diff) | |
bgpd lib ospf6d pbrd tests zebra: shadowing fixes
This fixes all remaining local variable shadowing cases
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6d.h')
| -rw-r--r-- | ospf6d/ospf6d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h index f95381084d..36f3c2233f 100644 --- a/ospf6d/ospf6d.h +++ b/ospf6d/ospf6d.h @@ -72,12 +72,12 @@ extern struct thread_master *master; #define threadtimer_string(now, t, buf, size) \ do { \ - struct timeval result; \ + struct timeval _result; \ if (!t) \ snprintf(buf, size, "inactive"); \ else { \ - timersub(&t->u.sands, &now, &result); \ - timerstring(&result, buf, size); \ + timersub(&t->u.sands, &now, &_result); \ + timerstring(&_result, buf, size); \ } \ } while (0) |
