]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Remove unused variable from contrib fastrpz/rpz.c
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Oct 2018 12:12:29 +0000 (12:12 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Oct 2018 12:12:29 +0000 (12:12 +0000)
git-svn-id: file:///svn/unbound/trunk@4925 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/fastrpz.patch

index d835b204f046459b214cd7cd6c225420e1669942..100c4259a04c3f018ce7f0a9f7e9bc2060466909 100644 (file)
@@ -1434,8 +1434,6 @@ Index: unboundfastrpz/fastrpz/rpz.c
 +static void
 +log_fnc(librpz_log_level_t level, void* ATTR_UNUSED(ctx), const char* buf)
 +{
-+      char label_buf[sizeof("rpz ")+8];
-+
 +      /* Setting librpz_log_level overrides the unbound "verbose" level. */
 +      if(level > LIBRPZ_LOG_TRACE1 &&
 +         level <= librpz->log_level_val(LIBRPZ_LOG_INVALID))