- Fix #1253: unused variable in edns-subnet/addrtree.c:getbit().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4126 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e61bcbfd71
commit
85a5a277c6
@ -1,5 +1,6 @@
|
||||
18 April 2017: Ralph
|
||||
- Fix #1252: more indentation inconsistencies.
|
||||
- Fix #1253: unused variable in edns-subnet/addrtree.c:getbit().
|
||||
|
||||
13 April 2017: Ralph
|
||||
- Added ECS unit test (from Manu Bretelle).
|
||||
|
@ -302,6 +302,7 @@ static int
|
||||
getbit(const addrkey_t *addr, addrlen_t addrlen, addrlen_t n)
|
||||
{
|
||||
log_assert(addrlen > n);
|
||||
(void)addrlen;
|
||||
return (int)(addr[n/KEYWIDTH]>>((KEYWIDTH-1)-(n%KEYWIDTH))) & 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user