From: Mark Andrews Date: Wed, 26 Mar 2025 12:42:53 +0000 (+0000) Subject: fix: test: Silence warning initialising compressed X-Git-Tag: v9.21.7~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7161a263ae9005d54e30c7c45fbc38ba1de0013;p=thirdparty%2Fbind9.git fix: test: Silence warning initialising compressed The string literal initialalising compressed was too big for the array as it has an unwanted NUL terminator. This is allowed for in C for historical reasons but produces a warning with some compilers. Adjust the declaration to include the NUL and adjust the users to pass in an adjusted size which excludes the NUL rather than sizeof(compressed). Closes #5258 Merge branch '5258-avoid-warning-initialising-compresss' into 'main' See merge request isc-projects/bind9!10326 --- f7161a263ae9005d54e30c7c45fbc38ba1de0013