aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-04-02 14:13:17 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-04-02 08:28:57 +0200
commit8e32881ef1d6d5867223a164052f8ff39d4ebb4e (patch)
treeb7d61bcd63935e9bdd2d697e3e8e0faa1a921500 /contrib
parent2ed2d59def758b049f42e7c75bfb48957a73bd39 (diff)
downloadpasst-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar.gz
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar.bz2
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar.lz
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar.xz
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.tar.zst
passt-8e32881ef1d6d5867223a164052f8ff39d4ebb4e.zip
platform requirements: Add attributes to die() function
Add both format string and ((noreturn)) attributes to the version of die() used in the test programs in doc/platform-requirements. As well as potentially catching problems in format strings, this means that the compiler and static checkers can properly reason about the fact that it will exit, preventing bogus warnings. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions