mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix unused variable warning on compilation with no thread support.
This commit is contained in:
parent
0c0c36f015
commit
f5a2160ba3
2 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,9 @@
|
||||||
cases. In the cases where limits are exceeded.
|
cases. In the cases where limits are exceeded.
|
||||||
- Fix spelling of tcp-idle-timeout docs, from Michael Tokarev.
|
- Fix spelling of tcp-idle-timeout docs, from Michael Tokarev.
|
||||||
|
|
||||||
|
27 May 2024: Yorgos
|
||||||
|
- Fix unused variable warning on compilation with no thread support.
|
||||||
|
|
||||||
24 May 2024: Wouter
|
24 May 2024: Wouter
|
||||||
- Fix #1064: Unbound 1.20 Cachedb broken?
|
- Fix #1064: Unbound 1.20 Cachedb broken?
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1327,6 +1327,8 @@ static void localzone_parents_test(void)
|
||||||
/* This is the config way */
|
/* This is the config way */
|
||||||
z = lz_enter_zone(z1, zone_data[i], "always_nxdomain",
|
z = lz_enter_zone(z1, zone_data[i], "always_nxdomain",
|
||||||
LDNS_RR_CLASS_IN);
|
LDNS_RR_CLASS_IN);
|
||||||
|
(void)z; /* please compiler when no threading and no lock
|
||||||
|
code; the following line disappears and z stays unused */
|
||||||
lock_rw_unlock(&z->lock);
|
lock_rw_unlock(&z->lock);
|
||||||
lz_init_parents(z1);
|
lz_init_parents(z1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue