mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-22 22:52:55 -05:00
- Remove clang analysis warnings.
git-svn-id: file:///svn/unbound/trunk@4998 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b23c373f4d
commit
c1c1cd97e7
3 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
- Fix that unbound-checkconf does not complains if the config file
|
||||
is not placed inside the chroot.
|
||||
- Refuse to start with no ports.
|
||||
- Remove clang analysis warnings.
|
||||
|
||||
28 November 2018: Wouter
|
||||
- Fix leak in chroot fix for auth-zone.
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ for x in cachedb/*.c daemon/*.c dns64/*.c $DNSCRYPT_SRC $DNSTAP_SRC edns-subnet/
|
|||
if test "$x" = "util/configlexer.c"; then continue; fi
|
||||
if test "$x" = "util/configparser.c"; then continue; fi
|
||||
if test "$x" = "testcode/signit.c"; then continue; fi
|
||||
if test "$x" = "compat/reallocarray.c"; then continue; fi
|
||||
echo clang --analyze $CPPFLAGS $x
|
||||
plist=`basename $x .c`.plist
|
||||
rm -rf $plist
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ void neg_delete_data(struct val_neg_cache* neg, struct val_neg_data* el)
|
|||
|
||||
/* remove it from the lru list */
|
||||
neg_lru_remove(neg, el);
|
||||
log_assert(neg->first != el && neg->last != el);
|
||||
|
||||
/* go up the tree and reduce counts */
|
||||
p = el;
|
||||
|
|
|
|||
Loading…
Reference in a new issue