From f99749a9a6b5a9f987fbf5fdf1b084c1db97711a Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 21 Jan 2025 10:53:17 -0500 Subject: 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 --- shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3