summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2025-01-21 10:53:17 -0500
committerPeter Jones <pjones@redhat.com>2025-01-21 11:08:59 -0500
commitf99749a9a6b5a9f987fbf5fdf1b084c1db97711a (patch)
tree6835e9e386706d14925e6b6dd75b4eb6440e20de
parentd6076cb61297c13a0c55c0b848b85b9f31a912ac (diff)
downloadefi-boot-shim-f99749a9a6b5a9f987fbf5fdf1b084c1db97711a.tar.gz
efi-boot-shim-f99749a9a6b5a9f987fbf5fdf1b084c1db97711a.zip
Ignore a minor clang-tidy nit
This just turns off the clang-tidy warning about our SBAT_VAR_NAME string compositing in the error message list in efi_main(), as it's the only warning in the whole file and it's bugging me. Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index c447c3d3..d387a01d 100644
--- a/shim.c
+++ b/shim.c
@@ -1826,7 +1826,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
L"shim_init() failed",
L"import of SBAT data failed",
L"SBAT self-check failed",
- SBAT_VAR_NAME L" UEFI variable setting failed",
+ SBAT_VAR_NAME L" UEFI variable setting failed", // NOLINT(bugprone-suspicious-missing-comma)
NULL
};
enum {