]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quiet analyzer. CID #1642927
authorAlan T. DeKok <aland@freeradius.org>
Sat, 15 Feb 2025 13:42:10 +0000 (08:42 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 15 Feb 2025 13:42:10 +0000 (08:42 -0500)
the buffer is always big enough.

src/lib/util/base_16_32_64_tests.c

index 8664e5434ce1237f4fce2db96a864ff06ec7464f..53971608f01e71c5f27a7ead639badf114f900ee 100644 (file)
@@ -95,7 +95,7 @@ static void test_base16_decode(void)
                                (ssize_t)base16_vectors[i].cleartext.len);
                TEST_MSG("%s", fr_strerror());
 
-               fr_dbuff_in_bytes(&out, 0x00);  /* Terminate */
+               (void) fr_dbuff_in_bytes(&out, 0x00);   /* Terminate */
 
                fr_dbuff_set_to_start(&out);
                TEST_CHECK_STRCMP((char *)fr_dbuff_current(&out), base16_vectors[i].cleartext.str);