From: Wouter Wijngaards Date: Wed, 31 May 2017 05:42:23 +0000 (+0000) Subject: - Fix #1273: cachedb.c doesn't compile with -Wextra. X-Git-Tag: release-1.6.4rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4c60435d2a9ad465b5557339a79c79a71a7368e;p=thirdparty%2Funbound.git - Fix #1273: cachedb.c doesn't compile with -Wextra. git-svn-id: file:///svn/unbound/trunk@4200 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/cachedb/cachedb.c b/cachedb/cachedb.c index dda94ca6c..d5e31d8de 100644 --- a/cachedb/cachedb.c +++ b/cachedb/cachedb.c @@ -171,6 +171,7 @@ static int cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg) { const char* backend_str = "testframe"; /* TODO get from cfg */ + (void)cfg; /* need this until the TODO is implemented */ if(backend_str && backend_str[0]) { cachedb_env->backend = cachedb_find_backend(backend_str); if(!cachedb_env->backend) { diff --git a/doc/Changelog b/doc/Changelog index d5fe23eea..79d166501 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +31 May 2017: Wouter + - Fix #1273: cachedb.c doesn't compile with -Wextra. + 30 May 2017: Ralph - Fix #1269: inconsistent use of built-in local zones with views. - Add defaults for new local-zone trees added to views using