]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Preserve brackets around string concatenation
authorMark Andrews <marka@isc.org>
Wed, 18 Jun 2025 02:49:04 +0000 (12:49 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Jun 2025 02:44:22 +0000 (12:44 +1000)
We need disable clang-format here to preserve the brackets around
the string concatenation to prevent -Wstring-concatenation -Werror
breaking the build.

tests/dns/private_test.c

index 2bd8b366fb0d3e841aa016257970dc220b6ea474..762bc0626bc2707d0cfcab394b3aa4d937986920 100644 (file)
@@ -168,8 +168,10 @@ ISC_RUN_TEST_IMPL(private_nsec3_totext) {
        const char *results[] = { "Creating NSEC3 chain 1 0 1 BEEF",
                                  "Creating NSEC3 chain 1 1 10 DADD",
                                  "Pending NSEC3 chain 1 0 20 BEAD",
+                                 /* clang-format off */
                                  ("Removing NSEC3 chain 1 0 30 DEAF / "
                                   "creating NSEC chain"),
+                                 /* clang-format on */
                                  "Removing NSEC3 chain 1 0 100 FEEDABEE" };
        int ncases = 5;