From d215091825f5355353fb75b614db98a87632d6b5 Mon Sep 17 00:00:00 2001 From: Lucas Azevedo Date: Mon, 19 Aug 2024 17:45:39 -0300 Subject: [PATCH] Suppress clang-tidy false positive Ignore an unitialized va_list false positive emitted by clang-tidy --- arch/SH/SHDisassembler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/SH/SHDisassembler.c b/arch/SH/SHDisassembler.c index f1a547cb61..ccc2e2d443 100644 --- a/arch/SH/SHDisassembler.c +++ b/arch/SH/SHDisassembler.c @@ -99,7 +99,7 @@ static void set_groups(cs_detail *detail, int n, ...) va_start(g, n); while (n > 0) { sh_insn_group grp; - grp = va_arg(g, sh_insn_group); + grp = va_arg(g, sh_insn_group); // NOLINT(clang-analyzer-valist.Uninitialized) if (detail) { detail->groups[detail->groups_count] = grp; detail->groups_count++;