Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: fix clang 19 compile error.
``` Ubuntu clang version 19.1.0 (++20240901083933+6d7e428df611-1~exp1~20240901084058.28) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm-19/bin ./configure CC=clang-19 make -j17 <snip> cc lightningd/offer.c cc lightningd/signmessage.c lightningd/subd.c:945:16: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] 945 | char permfail[strlen("PERMFAIL")]; | ^~~~~~~~~~~~~~~~~~ cc wallet/db.c ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: build: fix overzealous warning from clang 19.
- Loading branch information