From: Aleš Mrázek Date: Wed, 20 Aug 2025 13:46:04 +0000 (+0200) Subject: lint: tidy: fixed cert-err33-c errors X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=743531d9729c21d3222c501e194a43cb3d0d424c;p=thirdparty%2Fknot-resolver.git lint: tidy: fixed cert-err33-c errors --- diff --git a/utils/cache_gc/db.c b/utils/cache_gc/db.c index 0e8f90c17..f23c13093 100644 --- a/utils/cache_gc/db.c +++ b/utils/cache_gc/db.c @@ -130,15 +130,15 @@ static uint8_t entry_labels(knot_db_val_t * key, uint16_t rrtype) void debug_printbin(const char *str, unsigned int len) { - putchar('"'); + (void)putchar('"'); for (int idx = 0; idx < len; idx++) { char c = str[idx]; if (isprint(c)) - putchar(c); + (void)putchar(c); else printf("`%02hhx`", c); } - putchar('"'); + (void)putchar('"'); } /** Return one entry_h reference from a cache DB value. NULL if not consistent/suitable. */