]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Add and use __attribute__((nonnull)) in dnssec-signzone.c
authorOndřej Surý <ondrej@isc.org>
Thu, 28 Aug 2025 14:24:08 +0000 (16:24 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 28 Aug 2025 14:24:08 +0000 (16:24 +0200)
Clang 20 was spuriously warning about the possibility of passing a NULL file pointer
to `fprintf()`, which uses the 'nonnull' attribute. To silence the warning, the functions
calling `fprintf()` have been marked with the same attribute to assure that NULL can't be
passed to them in the first place.

Close #5487

Merge branch '5487-mark-passed-file-pointer-as-nonnull-in-dnssec-signzone' into 'main'

See merge request isc-projects/bind9!10888


Trivial merge