]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests: mute Coverity
authorDaniel Salzman <daniel.salzman@nic.cz>
Tue, 24 Aug 2021 06:36:03 +0000 (08:36 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 25 Aug 2021 15:22:56 +0000 (17:22 +0200)
tests/knot/test_server.h

index af3466da7345520d0c1d4eadbe71cbc2898a0917..85daf08d68e320503e1000aa609e121449cee563 100644 (file)
@@ -69,7 +69,7 @@ static inline int create_fake_server(server_t *server, knot_mm_t *mm, const char
        /* Create test configuration. */
        /* String `db_storage' obtained from test_mkdtemp() may be up to 4096 bytes. */
        char conf_str[4096 + 512];
-       snprintf(conf_str, sizeof(conf_str),
+       (void)snprintf(conf_str, sizeof(conf_str),
                "server:\n"
                "    identity: bogus.ns\n"
                "    version: 0.11\n"