]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
gc: cleanup warnings from GCC 9 compiler
authorPetr Špaček <petr.spacek@nic.cz>
Thu, 27 Jun 2019 12:12:28 +0000 (14:12 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 10 Jul 2019 13:59:23 +0000 (15:59 +0200)
utils/cache_gc/db.c

index e5ba3b89d5929e994416d4b2b0b041dbcc8a583e..0c8f8ddba2062b9bfcf0a0d63fb25af654e8244b 100644 (file)
@@ -52,8 +52,6 @@ int kr_gc_cache_open(const char *cache_path, struct kr_cache *kres_db, knot_db_t
 
        struct kr_cdb_opts opts = { cache_path, cache_size };
 
-open_kr_cache:
-       ;
        int ret = kr_cache_open(kres_db, NULL, &opts, NULL);
        if (ret || kres_db->db == NULL) {
                printf("Error opening Resolver cache (%s).\n", kr_strerror(ret));