From: Daniel Salzman Date: Tue, 24 Aug 2021 06:36:03 +0000 (+0200) Subject: tests: mute Coverity X-Git-Tag: v3.1.2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3900a9775e72838380b79377e540ae1c8285b4;p=thirdparty%2Fknot-dns.git tests: mute Coverity --- diff --git a/tests/knot/test_server.h b/tests/knot/test_server.h index af3466da73..85daf08d68 100644 --- a/tests/knot/test_server.h +++ b/tests/knot/test_server.h @@ -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"